A plugin for reveal.js that support markdown with metadata.
To use the plugin configure reveal.js plugin as:
Reveal.initialize({
hash: true,
// ...
plugins: [ RevealAwesoMD ]
// ...
});And add the following script tag in index.html file:
<script src="plugin/awesoMD/awesoMD.js"></script>Create your template file as <template-name>-template.html. Make sure that all the slide templates are inside same directory.
Note
Slide names are sanitized to ASCII-characters (a-z, A-Z, 0-9, -, _), Special characters including umlauts (äöüß), accents (éñç), and non-Latin scripts will be transliterated or removed. For best results, use simple Latin filenames.
<project-root-directory>
└── <templates-folder>
├── <template-name-1>-template.html
├── <template-name-2>-template.html
└ ...
The path to the templates folder can be set as below:
const awesoMd = RevealAwesoMD()
awesoMd.setBaseUrl(<path-to-templates-folder>)
Reveal.initialize({
plugins: [ awesoMd ]
})