Recently often do share, how to use a more scientific way to maintain the speech?

Basically, there are the following requirements:

  • Version management
  • On the basis of version management, you can also compare changes
  • Easy to write, don’t want to do the Keynote as often as changing the style
  • Support code highlighting
  • Support speaker notes
  • Offline storage for privacy reasons

Keynote and powerpoint files are not suitable for version management, nor do they support code highlighting. Markdown is a good choice.

Slides.com is perfect, but it’s online, and content security is compromised.

Consider using Markdown in conjunction with the local server approach.

Found a Star 3800+ nodePPT that can read Markdown files and start the service locally.

However, many problems have been found in use:

  • The page separator is[slide], does not comply with Markdown rules, preferably can be used---So intuitive separation
  • Two – end control is invalid
  • Page styles and transitions are old and best usedreveal.js
  • Images cannot use relative paths

The decision was made to choose reveal.js. However, it is found that reveal.js is written by pulling the project to modify the files in the project, which is very expensive for a lecture.

So I decided to create a command-line tool that could use reveal.js by writing a markdown file.

When creating the NPM project, it was discovered that someone had written a Node-reveal. However, it solved the template creation problem, which was not pure. So I wrote a command line tool @vivaxy/reveal that only accepted a Markdown file as a presentation.

The main functions are as follows:

  • Very simple setup. No pull code, no file templates
  • Use Markdown as a script
  • Support automatic refreshing of file changes
  • Custom theme
  • Support inline HTML, you can write custom content and styles
  • Support allreveal.jsThe function of the

Check it out at GitHub.