Create Simple Yet Powerful HTML Documents with Light Weight CSS
Frameworks
Create minimal, responsive, and style-agnostic HTML documents with
the lightweight CSS frameworks such as 'sakura', 'Water.css', and 'spcss'.
Powerful features include table of contents floating as a sidebar,
folding codes and results, and more.
minidown

Create simple yet powerful html documents with lightweight CSS frameworks.
Installation
CRAN version
install.packages("minidown")
Development version
remotes::install_github("atusy/minidown")
Features
- Light weight CSS frameworks
- Code folding
- for source, output, message, warning, and error
- Tooltip
- Floating TOC
- Math with KaTeX
- HTML5
- The Pandoc's HTML5 template is minimally modified by
- removing math section to support KaTeX CDN even if self contained
- wrapping body paragraphs by the
<article> tag.
- Output format is HTML4 as an exception if
framework = "bootstrap".
Live Examples
- Official demo
- Package vignettes
Philosophy
In the order of priority.
- Simple and extensible developments
- Use less external dependencies such as JavaScript.
- Let Pandoc do things as much as possible
- Not to reinvent the wheel
- Light weight output results