Skill
Community

markdown-to-html

Install
1
Install the plugin
$
npx claudepluginhub atc-net/atc-agentic-toolkit --plugin common

Want just this skill?

Then install: npx claudepluginhub u/[userId]/[slug]

Description

Convert Markdown files to HTML similar to `marked.js`, `pandoc`, `gomarkdown/markdown`, or similar tools; or writing custom script to convert markdown to html and/or working on web template systems like `jekyll/jekyll`, `gohugoio/hugo`, or similar web templating systems that utilize markdown documents, converting them to html. Use when asked to "convert markdown to html", "transform md to html", "render markdown", "generate html from markdown", or when working with .md files and/or web a templating system that converts markdown to HTML output. Supports CLI and Node.js workflows with GFM, CommonMark, and standard Markdown flavors.

Tool Access

This skill uses the workspace's default tool permissions.

Supporting Assets
View in Repository
references/basic-markdown-to-html.md
references/basic-markdown.md
references/code-blocks-to-html.md
references/code-blocks.md
references/collapsed-sections-to-html.md
references/collapsed-sections.md
references/gomarkdown.md
references/hugo.md
references/jekyll.md
references/marked.md
references/pandoc.md
references/tables-to-html.md
references/tables.md
references/writing-mathematical-expressions-to-html.md
references/writing-mathematical-expressions.md
Skill Content

Markdown to HTML Conversion

Expert skill for converting Markdown documents to HTML using the marked.js library, or writing data conversion scripts; in this case scripts similar to markedJS/marked repository. For custom scripts knowledge is not confined to marked.js, but data conversion methods are utilized from tools like pandoc and gomarkdown/markdown for data conversion; jekyll/jekyll and gohugoio/hugo for templating systems.

The conversion script or tool should handle single files, batch conversions, and advanced configurations.

Core Workflow

  1. Identify the conversion need - Single file, batch, or template system
  2. Select the right tool - See Tool Selection Guide below
  3. Load the appropriate reference - Read the tool-specific reference file
  4. Apply conversion patterns - Use the conversion examples from references
  5. Handle security - Sanitize output when processing untrusted input

Tool Selection Guide

Choose the tool based on the user's environment and requirements:

ToolBest ForLanguageInstall
markedNode.js projects, browser usage, CLI quick conversionsJavaScriptnpm install -g marked
pandocMulti-format conversion (MD, HTML, PDF, DOCX, LaTeX)Haskellpandoc.org/installing
gomarkdownGo projects, custom parsers, AST manipulationGogo get github.com/gomarkdown/markdown
jekyllBlog-aware static sites, GitHub PagesRubygem install jekyll bundler
hugoFast static sites, complex content managementGogohugo.io/installation

Decision Logic

  • Just need quick MD-to-HTML? Use marked (CLI) or pandoc
  • Node.js project? Use marked
  • Need PDF/DOCX/LaTeX output? Use pandoc
  • Go project? Use gomarkdown
  • Building a blog/static site? Use jekyll (Ruby) or hugo (Go)
  • Need GitHub Pages compatibility? Use jekyll
  • Need fast build times? Use hugo

Conversion Reference Files

Markdown Element Conversion Examples

Load these when working on conversion logic to understand how specific Markdown elements map to HTML.

ReferenceWhen to Load
basic-markdown-to-html.mdHeadings, paragraphs, inline formatting, links, images, lists, blockquotes, footnotes
code-blocks-to-html.mdFenced code blocks, syntax highlighting, showing backticks, diagrams
collapsed-sections-to-html.md<details>/<summary> elements, open-by-default sections
tables-to-html.mdTables with alignment, formatted content in cells, escaped characters
writing-mathematical-expressions-to-html.mdInline math ($...$), block math ($$...$$), MathML output

Markdown Syntax References

Load these when users need help writing Markdown (not converting it).

ReferenceWhen to Load
basic-markdown.mdFull Markdown writing syntax reference
code-blocks.mdCode block syntax and language identifiers
collapsed-sections.mdCollapsible section syntax
tables.mdTable formatting syntax
writing-mathematical-expressions.mdLaTeX math expression syntax

Tool-Specific References

Load the appropriate reference based on the tool selected.

ReferenceWhen to Load
marked.mdUsing marked.js: CLI usage, Node.js API, config files, batch conversion, security (DOMPurify)
pandoc.mdUsing pandoc: multi-format conversion, extensions, templates, Lua filters, batch scripts
gomarkdown.mdUsing gomarkdown: Go API, parser/renderer config, AST manipulation, security (Bluemonday)
jekyll.mdUsing Jekyll: site creation, Liquid templates, Kramdown config, plugins, front matter
hugo.mdUsing Hugo: site creation, Go templates, Goldmark config, shortcodes, Hugo Pipes
Stats
Stars0
Forks1
Last CommitMar 11, 2026

Similar Skills