MarkdownSlides is a Reveal.js and PDF slides generator from MARKDOWN files, that also generate HTML, EPUB and DOCX documents.
The idea is that from a same MARKDOWN file we can get slides and books without worrying about style, just worrying about content.
Now, only works in Linux (may be on MacOS)
It can works with Docker, but is in beta.
Your installation with docker is still under testing.
Any feedback is welcome.
$ docker build -t asanzdiego/markdownslides .
docker run -it -v "${PWD}":/home/markdownslides-master/"${PWD##*/}" \
asanzdiego/markdownslides ./build.sh [clean] [mode] [folder]
First copy the doc folder and rename it as you like. It is important to rename it to prevent errors.
Create the md files that you want to generate in the md folder. The md files are Markdown files which are nothing more than plain text files with extension md, and a lightweight markup (we should know it but it is very simple).
Firt example:
@import import/import-2.md
Second example:
@import import/import-1.md endLine=4
Third example:
@import import/import-1.md startLine=6
- Line 1 of import-2.md
- Line 2 of import-2.md
- Line 3 of import-2.md
- Line 4 of import-2.md
Fourth example:
@import import/import-1.md startLine=2 endLine=3 showNumberLines
2 - Line 2 of import-1.md
3 - Line 3 of import-1.md
@start-notes
This is only visible in book mode or if you press 's' on the slides.
@end-notes
@plus the lines below will only be available in the plus version
@plus @import import/import-2.md
the lines below will only be available in the plus version
So this:
$$x = {-b \pm \sqrt{b^2-4ac}}.$$
Will be converted to:
\[x = {-b \pm \sqrt{b^2-4ac}}.\]
# Level 1 (on slides and book)
## Level 2 (on slides and book)
## Level 3 (in book but stays level 2 in slides)
But only in books. In slides you can only have 2 levels.
## Foo Bar (I)
## Foo Bar (II)
In the book will be:
## Foo Bar
We can configure the files that we want to generate from the file build.properties
We can also configure some other stufs from the file build.properties
We can also configure some other stufs aboout reveal.js from the file build.properties
#THEME='black|white|league|sky|beige|simple|serif|blood|night|moon|solarized'
REVEAL_JS_THEME='beige'
REVEAL_JS_SHOW_TITLE_FOOTER='yes'
REVEAL_JS_DEFAULT_TITLE_FOOTER='yes'
REVEAL_JS_TITLE_FOOTER="'MarkdownSlides by @asanzdiego :-)'"
REVEAL_JS_SHOW_MENU='yes'
REVEAL_JS_SHOW_CHALKBOARD='yes'
REVEAL_JS_ONLINE='no'
[mode] can take the next values: min, med o máx.
[folder] folder wher to find the md files. If no folder name, it will convert all md files of all the folders.
I started developing web applications until I transitioned into teaching.
Currently, I am the Head of the Educational Platforms Service at the Digitalization Department of the Community of Madrid.
I collaborate as a teacher at the University of Alcalá and as a trainer at Pronoide.
Hackathon
Lovers: a group created for entrepreneurs and developers who loves
hackathons.
Password Manager Generator: an online password manager.
Extension of Password Manager Generator: an extension for browsers of Password Manager Generator.
MarkdownSlides: a script to create slides from MD files.