Tiny script (~620 bytes) for building static websites from markdown files
By default, mdhtml uses kramdown for markdown processing. Feel free to change this inside the script file itself.
Any projects using mdhtml will also be required to have the following setups:
public and assets folders_header.html and _footer.html filesh1 heading on the first lineThe contents (both files and folders) of the assets directory will be carried over into the public folder at build time.
Most files and assets are compressed (gzip) by default. You can remove this line from the core script if you desire.
mdhtml as executable: chmod +x mdhtmlmdhtml inside the same root directorypublic directorypublic folder contents on your web server!If you've found anything on this website helpful please consider donating directly to the OpenBSD Project.
A little goes a long way, and the OpenBSD Project is a volunteer-driven software group funded by donations!