/minidown

Create simple yet powerful html documents with light weight CSS frameworks.

Primary LanguageCSSOtherNOASSERTION

minidown

CRAN status R build status Total downloads Monthly downloads

Create simple yet powerful html documents with lightweight CSS frameworks.

Installation

remotes::install_github("atusy/minidown")

Features

  • Light weight CSS frameworks
  • Code folding
    • for source, output, message, warning, and error
  • Accordions
  • 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".

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