Thanks to visit codestin.com
Credit goes to github.com

Skip to content

rhodey/mdpage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mdpage

Small utility built around markdown-it

Usage

  • Mdpage renders the input to HTML and adds it to <body>
  • Pass -i index.html if you have an index.html file with for example css to include
  • Pass -s with an html selector such as #text to place the markdown inside the element with id=text
npm install -g @rhodey/mdpage
mdpage README.md > readme.html
mdpage README.md -i index.html > readme.html
mdpage README.md -i index.html -s "#text" > readme.html

License

Copyright 2025 - [email protected]

MIT

About

markdown to html

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published