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

CRAN status R-CMD-check Total downloads Monthly downloads

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

Philosophy

In the order of priority.

  1. Simple and extensible developments
    • Use less external dependencies such as JavaScript.
    • Let Pandoc do things as much as possible
      • Not to reinvent the wheel
  2. Light weight output results

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("minidown")

0.4.0 by Atsushi Yasumoto, 5 years ago


https://minidown.atusy.net, https://github.com/atusy/minidown


Report a bug at https://github.com/atusy/minidown/issues


Browse source code at https://github.com/cran/minidown


Authors: Atsushi Yasumoto [aut, cph, cre] , Angelos Chalaris [aut] (mini.css) , Susam Pal [aut] (spcss) , Mitesh Shah [aut] (sakura) , Kognise [aut] (Water.css)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports htmltools, katex, knitr, mime, rmarkdown, sass, xfun

Suggests callr, dplyr, purrr, shiny, testthat, tidyr, tibble

System requirements: pandoc (>= 2.7.2) - http://pandoc.org


Suggested by plantTracker.


See at CRAN