docs-to-prose

0.0.1 • Public • Published

Docs to Prose 📖

Convert a directory of html files to a new directory of styled and enhanced html files meant for everyday documentation enjoying.

showcase

Usage

Install the cli:

npm install -g docs-to-prose

Convert your docs to doc with prose:

toprose --input initial_html/ --output html_with_prose/

Serve the new docs using your favorite web server:

serve html_with_prose/

What's included

Typographic defaults for all HTML

Using @tailwindcss/typography's prose style utility classes, we render all html in a well designed and easy to read style.

Copy to clipboard for all code tags

Using clipboard.js, we insert a script for copying <code> and <pre> tags' innerHTML content to your system clipboard.

Package Sidebar

Install

npm i docs-to-prose

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

13.3 MB

Total Files

20

Last publish

Collaborators

  • johnschoeman