Compare commits
2 Commits
b67990cca1
...
2bb0339afc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2bb0339afc | ||
|
|
50db684e36 |
2
Makefile
2
Makefile
@@ -1,5 +1,5 @@
|
|||||||
watch:
|
watch:
|
||||||
./watch_compile.sh
|
./watch_compile.sh $(word 2,$(MAKECMDGOALS))
|
||||||
|
|
||||||
html:
|
html:
|
||||||
./scripts/slides_to_html.sh slides.md
|
./scripts/slides_to_html.sh slides.md
|
||||||
|
|||||||
20
README.md
20
README.md
@@ -3,3 +3,23 @@
|
|||||||
This repos aims to show a structured way to generate an html/pdf slideshow from markdown files
|
This repos aims to show a structured way to generate an html/pdf slideshow from markdown files
|
||||||
|
|
||||||
it depends on `pandoc` for compiling to pdf/html and `inotify-tools` for watching changes.
|
it depends on `pandoc` for compiling to pdf/html and `inotify-tools` for watching changes.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
### Slides in HTML/RevealJS:
|
||||||
|
|
||||||
|
- `make html`: for creating the html file
|
||||||
|
- `make serve_html`: for launching the server, then open [https://localhost:7777](https://localhost:7777) on your browser
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Slides in PDF/LateX:
|
||||||
|
|
||||||
|
- `make pdf`: for creating the pdf file
|
||||||
|
|
||||||
|
Then open the pdf file in your favorite pdf reader
|
||||||
|
|
||||||
|
|
||||||
|
### Compiling the slideset when modifications occur
|
||||||
|
|
||||||
|
- `make watch` should launch an inotiy loop recompiling a pdf by default (for html, launch: `make watch html`)
|
||||||
|
|||||||
Reference in New Issue
Block a user