When I got a talk, I am very lazy to prepare slides. I don't want to spend too much time on creating it. So no choice to open neither Keynote nor PowerPoint.
So I finally decided to implement my own framework which is called Harmonide.
Harmonide command is implemented in node.js and available on npm. So first of all, install Harmonide by npm.
$ npm install harmonide
Once you install Harmonide, now you can use harmonide commands on your terminal.
To compile slides, you can use build command with specifying your markdown file. This will create a
build directory that includes a compiled HTML slide.
$ harmonide build your-slide.md
Because you will define pages and set some settings in one single Markdown file, here are few basic Markdown format for Harmonide you might want to remember.
Defining pages can be done by inserting 2 lines of
----- in front of the page of the content you are going to define.
----- ----- # Slide1 ----- ----- # Slide2
You can change backgournd color of the slide, positions of the texts and so on by setting them either globally or specifically for a slide.
Global options should be specified in the begining of the markdown and options for each slide should be specified in between the 2 lines of
backgroundColor: white ----- backgroundColor: black align: middle ----- # Slide1 ----- ----- # Slide2
----- ----- # Slide1 ```js console.log('Hello Harmonide!'); ``` - ES6 is also available ```jses6 var square = (x) => x * x; console.log(square(2)); ```
The generated block will be like as follows.
Try Harmonide for your next talk and happy harmoniding!comments powered by Disqus