Install
openclaw skills install @terrycarter1985/markdown-to-htmlConvert Markdown files to standalone styled HTML with syntax highlighting, table of contents, and responsive design. Use when the user wants to publish markdown content as a web page, blog post, or documentation page with professional styling.
openclaw skills install @terrycarter1985/markdown-to-htmlConverts Markdown files to standalone, styled HTML pages.
node scripts/convert.mjs input.md -o output.html
| Flag | Description | Default |
|---|---|---|
-o, --output <path> | Output HTML file path | <input>.html |
-t, --title <text> | Page title | Derived from filename |
--toc | Include table of contents | false |
--theme <name> | Theme: light, dark, classic | light |
--highlight | Enable syntax highlighting | true |
# Basic conversion
node scripts/convert.mjs README.md
# With TOC and dark theme
node scripts/convert.mjs article.md -o article.html --toc --theme dark
# Custom title
node scripts/convert.mjs notes.md -o notes.html -t "My Notes"