docs-to-prose
v0.0.1
Published
Convert a directory of html files to a new directory of styled and enhanced html files meant for everyday documentation enjoying.
Downloads
4
Maintainers
Readme
Docs to Prose 📖
Convert a directory of html files to a new directory of styled and enhanced html files meant for everyday documentation enjoying.
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.