2.0.4 • Published 9 years ago
yohane v2.0.4
introduction
here was a ppt app. with core function of displaying md file.
md file will be separate into several parts according to --- mark.
installation
first you should have nodeJs installed.
npm i -g yohaneusage
cdto your work directive- run
yohanein cli - press
enterswitchover preview mode and full-screen mode - press up/left accessing to previous page and down/right to the next.
customization
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.jsonor use cli argsconfigto dispatch configs like:my_config.json ```json { "entry": "my_ppt.md", "bgImg": "bg.png" } ``` run in cli ```bash yohane --config "my_config.json" ```yohane will merge these 3 above by priority of cli > config file > default config
configurations
feature
- separate md file into multipart ppt according to
---mark. - md file change and application will live-reload.