here was a ppt app. with core function of displaying md file.
md file will be separate into several parts according to ---
mark.
first you should have nodeJs installed.
npm i -g yohane
-
cd
to your work directive - run
yohane
in cli - press
enter
switchover preview mode and full-screen mode - press up/left accessing to previous page and down/right to the next.
yohane have default config and have 2 ways setting config, and basedir was current path running yohane.
-
use cli args to set config like:
yohane --entry "my_ppt.md" --bgImg "bg.png"
-
write config file named
config.json
or use cli argsconfig
to dispatch configs like:my_config.json
{ "entry": "my_ppt.md", "bgImg": "bg.png" }
run in cli
yohane --config "my_config.json"
yohane will merge these 3 above by priority of cli > config file > default config
- separate md file into multipart ppt according to
---
mark. - md file change and application will live-reload.