npx claudepluginhub atc-net/atc-agentic-toolkit --plugin commonWant just this skill?
Then install: npx claudepluginhub u/[userId]/[slug]
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.
This skill uses the workspace's default tool permissions.
references/basic-markdown-to-html.mdreferences/basic-markdown.mdreferences/code-blocks-to-html.mdreferences/code-blocks.mdreferences/collapsed-sections-to-html.mdreferences/collapsed-sections.mdreferences/gomarkdown.mdreferences/hugo.mdreferences/jekyll.mdreferences/marked.mdreferences/pandoc.mdreferences/tables-to-html.mdreferences/tables.mdreferences/writing-mathematical-expressions-to-html.mdreferences/writing-mathematical-expressions.mdMarkdown 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
- Identify the conversion need - Single file, batch, or template system
- Select the right tool - See Tool Selection Guide below
- Load the appropriate reference - Read the tool-specific reference file
- Apply conversion patterns - Use the conversion examples from references
- Handle security - Sanitize output when processing untrusted input
Tool Selection Guide
Choose the tool based on the user's environment and requirements:
| Tool | Best For | Language | Install |
|---|---|---|---|
| marked | Node.js projects, browser usage, CLI quick conversions | JavaScript | npm install -g marked |
| pandoc | Multi-format conversion (MD, HTML, PDF, DOCX, LaTeX) | Haskell | pandoc.org/installing |
| gomarkdown | Go projects, custom parsers, AST manipulation | Go | go get github.com/gomarkdown/markdown |
| jekyll | Blog-aware static sites, GitHub Pages | Ruby | gem install jekyll bundler |
| hugo | Fast static sites, complex content management | Go | gohugo.io/installation |
Decision Logic
- Just need quick MD-to-HTML? Use
marked(CLI) orpandoc - Node.js project? Use
marked - Need PDF/DOCX/LaTeX output? Use
pandoc - Go project? Use
gomarkdown - Building a blog/static site? Use
jekyll(Ruby) orhugo(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.
| Reference | When to Load |
|---|---|
| basic-markdown-to-html.md | Headings, paragraphs, inline formatting, links, images, lists, blockquotes, footnotes |
| code-blocks-to-html.md | Fenced code blocks, syntax highlighting, showing backticks, diagrams |
| collapsed-sections-to-html.md | <details>/<summary> elements, open-by-default sections |
| tables-to-html.md | Tables with alignment, formatted content in cells, escaped characters |
| writing-mathematical-expressions-to-html.md | Inline math ($...$), block math ($$...$$), MathML output |
Markdown Syntax References
Load these when users need help writing Markdown (not converting it).
| Reference | When to Load |
|---|---|
| basic-markdown.md | Full Markdown writing syntax reference |
| code-blocks.md | Code block syntax and language identifiers |
| collapsed-sections.md | Collapsible section syntax |
| tables.md | Table formatting syntax |
| writing-mathematical-expressions.md | LaTeX math expression syntax |
Tool-Specific References
Load the appropriate reference based on the tool selected.
| Reference | When to Load |
|---|---|
| marked.md | Using marked.js: CLI usage, Node.js API, config files, batch conversion, security (DOMPurify) |
| pandoc.md | Using pandoc: multi-format conversion, extensions, templates, Lua filters, batch scripts |
| gomarkdown.md | Using gomarkdown: Go API, parser/renderer config, AST manipulation, security (Bluemonday) |
| jekyll.md | Using Jekyll: site creation, Liquid templates, Kramdown config, plugins, front matter |
| hugo.md | Using Hugo: site creation, Go templates, Goldmark config, shortcodes, Hugo Pipes |
Similar Skills
Expert guidance for Next.js Cache Components and Partial Prerendering (PPR). **PROACTIVE ACTIVATION**: Use this skill automatically when working in Next.js projects that have `cacheComponents: true` in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best practices to all React Server Component implementations. **DETECTION**: At the start of a session in a Next.js project, check for `cacheComponents: true` in next.config. If enabled, this skill's patterns should guide all component authoring, data fetching, and caching decisions. **USE CASES**: Implementing 'use cache' directive, configuring cache lifetimes with cacheLife(), tagging cached data with cacheTag(), invalidating caches with updateTag()/revalidateTag(), optimizing static vs dynamic content boundaries, debugging cache issues, and reviewing Cache Component implementations.