Skip to content
/ tmpl-reveal-md Public template

Template (Intro Repo) to explain markdown slide creation with reveal-md.

Notifications You must be signed in to change notification settings

litec-tmpl/tmpl-reveal-md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

title author date
reveal-md slides
hasp
20240929

tmpl-reveal-md

Template / Introductory Repository to explain markdown slide creation with reveal-md.

Warning

⚠️Work in Progress!


Installation / Update

  1. install node.js: winget install OpenJS.NodeJS.LTS
  2. install reveal-md: npm install -g reveal-md
  3. update/upgrade all global packages:
    • npm update -g
    • npm upgrade -g

Usage

  • To show all documents of lectures and exercise folder:
    • stay in root-folder of repository
    • and start: reveal-md . -w
      • -w is optional and watches for file changes
  • To show a specific document (using this readme as example):
    • reveal-md README.md
  • For parameter overview just type reveal-md
  • Slide creation: use Typora and vscode.
  • See the various slides to get an idea whats possible

Important files

  • global configuration: reveal-md.json
  • can be overwritten by YAML frontmatter in md-files
  • folder .reveal:
    • css styling (style.css)
    • mermaid plugin (mermaid.min.js)

Important Links


TODOs

  • consider to update mermaid.min.js every now and then
  • Improvement of README.md ... 😜
  • Add reveal-md.json and .reveal-folder to other templates

Mermaid Problems

Warning

⚠️ Mermaid not working as intended
(see this issue)

  1. Settings Error: settings not working in:
    • reveal-md.json and
    • YAML Frontmatter of .md-files
  2. Display Error: the mermaid graph size is often not correctly show

Another problem (of reveal-md):
favicon.ico not working as intended


Mermaid Workarounds

  1. Settings Error: add mermaid settings directly to diagram (as frontmatter)
  2. Display error: refresh the browser (Ctrl+R) for redraw
    • this needs the setting "history": true in reveal-md.json
    • otherwise you start at slide one.
    • use Typora and vscode!

About

Template (Intro Repo) to explain markdown slide creation with reveal-md.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages