[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77MVYRE2AS3YARNSQKKBCDC":3,"skill-same:01M77MVYRE2AS3YARNSQKKBCDC":108},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M77MVYRE2AS3YARNSQKKBCDC","markdown-to-html",null,"Convert Markdown files to HTML similar to `marked.js`, `pandoc`, `gomarkdown\u002Fmarkdown`, or similar tools; or writing custom script to convert markdown to html and\u002For working on web template systems like `jekyll\u002Fjekyll`, `gohugoio\u002Fhugo`, 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\u002For web a templating system that converts markdown to HTML output. Supports CLI and Node.js workflows with GFM, CommonMark, and standard Markdown flavors.","Reihantt6\u002Fsns-myagent","Reihantt6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219822095?v=4","01M77KK94PV8B7C2D9XWXNS8DJ","Mohamad Reihan tegar prasetya","01M77KK958QFMTHYXGXFV7KZ79",2,"MIT","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmarkdown-to-html\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: markdown-to-html\ndescription: 'Convert Markdown files to HTML similar to `marked.js`, `pandoc`, `gomarkdown\u002Fmarkdown`, or similar tools; or writing custom script to convert markdown to html and\u002For working on web template systems like `jekyll\u002Fjekyll`, `gohugoio\u002Fhugo`, 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\u002For web a templating system that converts markdown to HTML output. Supports CLI and Node.js workflows with GFM, CommonMark, and standard Markdown flavors.'\n---\n\n# Markdown to HTML Conversion\n\nExpert skill for converting Markdown documents to HTML using the marked.js library, or writing data conversion scripts; in this case scripts similar to [markedJS\u002Fmarked](https:\u002F\u002Fgithub.com\u002Fmarkedjs\u002Fmarked) repository. For custom scripts knowledge is not confined to `marked.js`, but data conversion methods are utilized from tools like [pandoc](https:\u002F\u002Fgithub.com\u002Fjgm\u002Fpandoc) and [gomarkdown\u002Fmarkdown](https:\u002F\u002Fgithub.com\u002Fgomarkdown\u002Fmarkdown) for data conversion; [jekyll\u002Fjekyll](https:\u002F\u002Fgithub.com\u002Fjekyll\u002Fjekyll) and [gohugoio\u002Fhugo](https:\u002F\u002Fgithub.com\u002Fgohugoio\u002Fhugo) for templating systems.\n\nThe conversion script or tool should handle single files, batch conversions, and advanced configurations.\n\n## When to Use This Skill\n\n- User asks to \"convert markdown to html\" or \"transform md files\"\n- User wants to \"render markdown\" as HTML output\n- User needs to generate HTML documentation from .md files\n- User is building static sites from Markdown content\n- User is building template system that converts markdown to html\n- User is working on a tool, widget, or custom template for an existing templating system\n- User wants to preview Markdown as rendered HTML\n\n## Converting Markdown to HTML\n\n### Essential Basic Conversions\n\nFor more see [basic-markdown-to-html.md](references\u002Fbasic-markdown-to-html.md)\n\n```text\n    ```markdown\n    # Level 1\n    ## Level 2\n\n    One sentence with a [link](https:\u002F\u002Fexample.com), and a HTML snippet like `\u003Cp>paragraph tag\u003C\u002Fp>`.\n\n    - `ul` list item 1\n    - `ul` list item 2\n\n    1. `ol` list item 1\n    2. `ol` list item 1\n\n    | Table Item | Description |\n    | One | One is the spelling of the number `1`. |\n    | Two | Two is the spelling of the number `2`. |\n\n    ```js\n    var one = 1;\n    var two = 2;\n\n    function simpleMath(x, y) {\n     return x + y;\n    }\n    console.log(simpleMath(one, two));\n    ```\n    ```\n\n    ```html\n    \u003Ch1>Level 1\u003C\u002Fh1>\n    \u003Ch2>Level 2\u003C\u002Fh2>\n\n    \u003Cp>One sentence with a \u003Ca href=\"https:\u002F\u002Fexample.com\">link\u003C\u002Fa>, and a HTML snippet like \u003Ccode>&lt;p&gt;paragraph tag&lt;\u002Fp&gt;\u003C\u002Fcode>.\u003C\u002Fp>\n\n    \u003Cul>\n     \u003Cli>`ul` list item 1\u003C\u002Fli>\n     \u003Cli>`ul` list item 2\u003C\u002Fli>\n    \u003C\u002Ful>\n\n    \u003Col>\n     \u003Cli>`ol` list item 1\u003C\u002Fli>\n     \u003Cli>`ol` list item 2\u003C\u002Fli>\n    \u003C\u002Fol>\n\n    \u003Ctable>\n     \u003Cthead>\n      \u003Ctr>\n       \u003Cth>Table Item\u003C\u002Fth>\n       \u003Cth>Description\u003C\u002Fth>\n      \u003C\u002Ftr>\n     \u003C\u002Fthead>\n     \u003Ctbody>\n      \u003Ctr>\n       \u003Ctd>One\u003C\u002Ftd>\n       \u003Ctd>One is the spelling of the number `1`.\u003C\u002Ftd>\n      \u003C\u002Ftr>\n      \u003Ctr>\n       \u003Ctd>Two\u003C\u002Ftd>\n       \u003Ctd>Two is the spelling of the number `2`.\u003C\u002Ftd>\n      \u003C\u002Ftr>\n     \u003C\u002Ftbody>\n    \u003C\u002Ftable>\n\n    \u003Cpre>\n     \u003Ccode>var one = 1;\n     var two = 2;\n\n     function simpleMath(x, y) {\n      return x + y;\n     }\n     console.log(simpleMath(one, two));\u003C\u002Fcode>\n    \u003C\u002Fpre>\n    ```\n```\n\n### Code Block Conversions\n\nFor more see [code-blocks-to-html.md](references\u002Fcode-blocks-to-html.md)\n\n```text\n\n    ```markdown\n    your code here\n    ```\n\n    ```html\n    \u003Cpre>\u003Ccode class=\"language-md\">\n    your code here\n    \u003C\u002Fcode>\u003C\u002Fpre>\n    ```\n\n    ```js\n    console.log(\"Hello world\");\n    ```\n\n    ```html\n    \u003Cpre>\u003Ccode class=\"language-js\">\n    console.log(\"Hello world\");\n    \u003C\u002Fcode>\u003C\u002Fpre>\n    ```\n\n    ```markdown\n      ```\n\n      ```\n      visible backticks\n      ```\n\n      ```\n    ```\n\n    ```html\n      \u003Cpre>\u003Ccode>\n      ```\n\n      visible backticks\n\n      ```\n      \u003C\u002Fcode>\u003C\u002Fpre>\n    ```\n```\n\n### Collapsed Section Conversions\n\nFor more see [collapsed-sections-to-html.md](references\u002Fcollapsed-sections-to-html.md)\n\n```text\n    ```markdown\n    \u003Cdetails>\n    \u003Csummary>More info\u003C\u002Fsummary>\n\n    ### Header inside\n\n    - Lists\n    - **Formatting**\n    - Code blocks\n\n        ```js\n        console.log(\"Hello\");\n        ```\n\n    \u003C\u002Fdetails>\n    ```\n\n    ```html\n    \u003Cdetails>\n    \u003Csummary>More info\u003C\u002Fsummary>\n\n    \u003Ch3>Header inside\u003C\u002Fh3>\n\n    \u003Cul>\n     \u003Cli>Lists\u003C\u002Fli>\n     \u003Cli>\u003Cstrong>Formatting\u003C\u002Fstrong>\u003C\u002Fli>\n     \u003Cli>Code blocks\u003C\u002Fli>\n    \u003C\u002Ful>\n\n    \u003Cpre>\n     \u003Ccode class=\"language-js\">console.log(\"Hello\");\u003C\u002Fcode>\n    \u003C\u002Fpre>\n\n    \u003C\u002Fdetails>\n    ```\n```\n\n### Mathematical Expression Conversions\n\nFor more see [writing-mathematical-expressions-to-html.md](references\u002Fwriting-mathematical-expressions-to-html.md)\n\n```text\n    ```markdown\n    This sentence uses `$` delimiters to show math inline: $\\sqrt{3x-1}+(1+x)^2$\n    ```\n\n    ```html\n    \u003Cp>This sentence uses \u003Ccode>$\u003C\u002Fcode> delimiters to show math inline:\n     \u003Cmath-renderer>\u003Cmath xmlns=\"http:\u002F\u002Fwww.w3.org\u002F1998\u002FMath\u002FMathML\">\n      \u003Cmsqrt>\u003Cmn>3\u003C\u002Fmn>\u003Cmi>x\u003C\u002Fmi>\u003Cmo>−\u003C\u002Fmo>\u003Cmn>1\u003C\u002Fmn>\u003C\u002Fmsqrt>\n      \u003Cmo>+\u003C\u002Fmo>\u003Cmo>(\u003C\u002Fmo>\u003Cmn>1\u003C\u002Fmn>\u003Cmo>+\u003C\u002Fmo>\u003Cmi>x\u003C\u002Fmi>\n      \u003Cmsup>\u003Cmo>)\u003C\u002Fmo>\u003Cmn>2\u003C\u002Fmn>\u003C\u002Fmsup>\n     \u003C\u002Fmath>\n    \u003C\u002Fmath-renderer>\n    \u003C\u002Fp>\n    ```\n\n    ```markdown\n    **The Cauchy-Schwarz Inequality**\\\n    $$\\left( \\sum_{k=1}^n a_k b_k \\right)^2 \\leq \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right)$$\n    ```\n\n    ```html\n    \u003Cp>\u003Cstrong>The Cauchy-Schwarz Inequality\u003C\u002Fstrong>\u003Cbr>\n     \u003Cmath-renderer>\n      \u003Cmath xmlns=\"http:\u002F\u002Fwww.w3.org\u002F1998\u002FMath\u002FMathML\">\n       \u003Cmsup>\n        \u003Cmrow>\u003Cmo>(\u003C\u002Fmo>\n         \u003Cmunderover>\u003Cmo data-mjx-texclass=\"OP\">∑\u003C\u002Fmo>\n          \u003Cmrow>\u003Cmi>k\u003C\u002Fmi>\u003Cmo>=\u003C\u002Fmo>\u003Cmn>1\u003C\u002Fmn>\u003C\u002Fmrow>\u003Cmi>n\u003C\u002Fmi>\n         \u003C\u002Fmunderover>\n         \u003Cmsub>\u003Cmi>a\u003C\u002Fmi>\u003Cmi>k\u003C\u002Fmi>\u003C\u002Fmsub>\n         \u003Cmsub>\u003Cmi>b\u003C\u002Fmi>\u003Cmi>k\u003C\u002Fmi>\u003C\u002Fmsub>\n         \u003Cmo>)\u003C\u002Fmo>\n        \u003C\u002Fmrow>\n        \u003Cmn>2\u003C\u002Fmn>\n       \u003C\u002Fmsup>\n       \u003Cmo>≤\u003C\u002Fmo>\n       \u003Cmrow>\u003Cmo>(\u003C\u002Fmo>\n        \u003Cmunderover>\u003Cmo>∑\u003C\u002Fmo>\n         \u003Cmrow>\u003Cmi>k\u003C\u002Fmi>\u003Cmo>=\u003C\u002Fmo>\u003Cmn>1\u003C\u002Fmn>\u003C\u002Fmrow>\n         \u003Cmi>n\u003C\u002Fmi>\n        \u003C\u002Fmunderover>\n        \u003Cmsubsup>\u003Cmi>a\u003C\u002Fmi>\u003Cmi>k\u003C\u002Fmi>\u003Cmn>2\u003C\u002Fmn>\u003C\u002Fmsubsup>\n        \u003Cmo>)\u003C\u002Fmo>\n       \u003C\u002Fmrow>\n       \u003Cmrow>\u003Cmo>(\u003C\u002Fmo>\n         \u003Cmunderover>\u003Cmo>∑\u003C\u002Fmo>\n          \u003Cmrow>\u003Cmi>k\u003C\u002Fmi>\u003Cmo>=\u003C\u002Fmo>\u003Cmn>1\u003C\u002Fmn>\u003C\u002Fmrow>\n          \u003Cmi>n\u003C\u002Fmi>\n         \u003C\u002Fmunderover>\n         \u003Cmsubsup>\u003Cmi>b\u003C\u002Fmi>\u003Cmi>k\u003C\u002Fmi>\u003Cmn>2\u003C\u002Fmn>\u003C\u002Fmsubsup>\n         \u003Cmo>)\u003C\u002Fmo>\n       \u003C\u002Fmrow>\n      \u003C\u002Fmath>\n     \u003C\u002Fmath-renderer>\u003C\u002Fp>\n    ```\n```\n\n### Table Conversions\n\nFor more see [tables-to-html.md](references\u002Ftables-to-html.md)\n\n```text\n    ```markdown\n    | First Header  | Second Header |\n    | ------------- | ------------- |\n    | Content Cell  | Content Cell  |\n    | Content Cell  | Content Cell  |\n    ```\n\n    ```html\n    \u003Ctable>\n     \u003Cthead>\u003Ctr>\u003Cth>First Header\u003C\u002Fth>\u003Cth>Second Header\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\n     \u003Ctbody>\n      \u003Ctr>\u003Ctd>Content Cell\u003C\u002Ftd>\u003Ctd>Content Cell\u003C\u002Ftd>\u003C\u002Ftr>\n      \u003Ctr>\u003Ctd>Content Cell\u003C\u002Ftd>\u003Ctd>Content Cell\u003C\u002Ftd>\u003C\u002Ftr>\n     \u003C\u002Ftbody>\n    \u003C\u002Ftable>\n    ```\n\n    ```markdown\n    | Left-aligned | Center-aligned | Right-aligned |\n    | :---         |     :---:      |          ---: |\n    | git status   | git status     | git status    |\n    | git diff     | git diff       | git diff      |\n    ```\n\n    ```html\n    \u003Ctable>\n      \u003Cthead>\n       \u003Ctr>\n        \u003Cth align=\"left\">Left-aligned\u003C\u002Fth>\n        \u003Cth align=\"center\">Center-aligned\u003C\u002Fth>\n        \u003Cth align=\"right\">Right-aligned\u003C\u002Fth>\n       \u003C\u002Ftr>\n      \u003C\u002Fthead>\n      \u003Ctbody>\n       \u003Ctr>\n        \u003Ctd align=\"left\">git status\u003C\u002Ftd>\n        \u003Ctd align=\"center\">git status\u003C\u002Ftd>\n        \u003Ctd align=\"right\">git status\u003C\u002Ftd>\n       \u003C\u002Ftr>\n       \u003Ctr>\n        \u003Ctd align=\"left\">git diff\u003C\u002Ftd>\n        \u003Ctd align=\"center\">git diff\u003C\u002Ftd>\n        \u003Ctd align=\"right\">git diff\u003C\u002Ftd>\n       \u003C\u002Ftr>\n      \u003C\u002Ftbody>\n    \u003C\u002Ftable>\n    ```\n```\n\n## Working with [`markedJS\u002Fmarked`](references\u002Fmarked.md)\n\n### Prerequisites\n\n- Node.js installed (for CLI or programmatic usage)\n- Install marked globally for CLI: `npm install -g marked`\n- Or install locally: `npm install marked`\n\n### Quick Conversion Methods\n\nSee [marked.md](references\u002Fmarked.md) **Quick Conversion Methods**\n\n### Step-by-Step Workflows\n\nSee [marked.md](references\u002Fmarked.md) **Step-by-Step Workflows**\n\n### CLI Configuration\n\n### Using Config Files\n\nCreate `~\u002F.marked.json` for persistent options:\n\n```json\n{\n  \"gfm\": true,\n  \"breaks\": true\n}\n```\n\nOr use a custom config:\n\n```bash\nmarked -i input.md -o output.html -c config.json\n```\n\n### CLI Options Reference\n\n| Option | Description |\n|--------|-------------|\n| `-i, --input \u003Cfile>` | Input Markdown file |\n| `-o, --output \u003Cfile>` | Output HTML file |\n| `-s, --string \u003Cstring>` | Parse string instead of file |\n| `-c, --config \u003Cfile>` | Use custom config file |\n| `--gfm` | Enable GitHub Flavored Markdown |\n| `--breaks` | Convert newlines to `\u003Cbr>` |\n| `--help` | Show all options |\n\n### Security Warning\n\n⚠️ **Marked does NOT sanitize output HTML.** For untrusted input, use a sanitizer:\n\n```javascript\nimport { marked } from 'marked';\nimport DOMPurify from 'dompurify';\n\nconst unsafeHtml = marked.parse(untrustedMarkdown);\nconst safeHtml = DOMPurify.sanitize(unsafeHtml);\n```\n\nRecommended sanitizers:\n\n- [DOMPurify](https:\u002F\u002Fgithub.com\u002Fcure53\u002FDOMPurify) (recommended)\n- [sanitize-html](https:\u002F\u002Fgithub.com\u002Fapostrophecms\u002Fsanitize-html)\n- [js-xss](https:\u002F\u002Fgithub.com\u002Fleizongmin\u002Fjs-xss)\n\n### Supported Markdown Flavors\n\n| Flavor | Support |\n|--------|---------|\n| Original Markdown | 100% |\n| CommonMark 0.31 | 98% |\n| GitHub Flavored Markdown | 97% |\n\n### Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| Special characters at file start | Strip zero-width chars: `content.replace(\u002F^[\\u200B\\u200C\\u200D\\uFEFF]\u002F,\"\")` |\n| Code blocks not highlighting | Add a syntax highlighter like highlight.js |\n| Tables not rendering | Ensure `gfm: true` option is set |\n| Line breaks ignored | Set `breaks: true` in options |\n| XSS vulnerability concerns | Use DOMPurify to sanitize output |\n\n## Working with [`pandoc`](references\u002Fpandoc.md)\n\n### Prerequisites\n\n- Pandoc installed (download from \u003Chttps:\u002F\u002Fpandoc.org\u002Finstalling.html>)\n- For PDF output: LaTeX installation (MacTeX on macOS, MiKTeX on Windows, texlive on Linux)\n- Terminal\u002Fcommand prompt access\n\n### Quick Conversion Methods\n\n#### Method 1: CLI Basic Conversion\n\n```bash\n# Convert markdown to HTML\npandoc input.md -o output.html\n\n# Convert with standalone document (includes header\u002Ffooter)\npandoc input.md -s -o output.html\n\n# Explicit format specification\npandoc input.md -f markdown -t html -s -o output.html\n```\n\n#### Method 2: Filter Mode (Interactive)\n\n```bash\n# Start pandoc as a filter\npandoc\n\n# Type markdown, then Ctrl-D (Linux\u002FmacOS) or Ctrl-Z+Enter (Windows)\nHello *pandoc*!\n# Output: \u003Cp>Hello \u003Cem>pandoc\u003C\u002Fem>!\u003C\u002Fp>\n```\n\n#### Method 3: Format Conversion\n\n```bash\n# HTML to Markdown\npandoc -f html -t markdown input.html -o output.md\n\n# Markdown to LaTeX\npandoc input.md -s -o output.tex\n\n# Markdown to PDF (requires LaTeX)\npandoc input.md -s -o output.pdf\n\n# Markdown to Word\npandoc input.md -s -o output.docx\n```\n\n### CLI Configuration\n\n| Option | Description |\n|--------|-------------|\n| `-f, --from \u003Cformat>` | Input format (markdown, html, latex, etc.) |\n| `-t, --to \u003Cformat>` | Output format (html, latex, pdf, docx, etc.) |\n| `-s, --standalone` | Produce standalone document with header\u002Ffooter |\n| `-o, --output \u003Cfile>` | Output file (inferred from extension) |\n| `--mathml` | Convert TeX math to MathML |\n| `--metadata title=\"Title\"` | Set document metadata |\n| `--toc` | Include table of contents |\n| `--template \u003Cfile>` | Use custom template |\n| `--help` | Show all options |\n\n### Security Warning\n\n⚠️ **Pandoc processes input faithfully.** When converting untrusted markdown:\n\n- Use `--sandbox` mode to disable external file access\n- Validate input before processing\n- Sanitize HTML output if displayed in browsers\n\n```bash\n# Run in sandbox mode for untrusted input\npandoc --sandbox input.md -o output.html\n```\n\n### Supported Markdown Flavors\n\n| Flavor | Support |\n|--------|---------|\n| Pandoc Markdown | 100% (native) |\n| CommonMark | Full (use `-f commonmark`) |\n| GitHub Flavored Markdown | Full (use `-f gfm`) |\n| MultiMarkdown | Partial |\n\n### Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| PDF generation fails | Install LaTeX (MacTeX, MiKTeX, or texlive) |\n| Encoding issues on Windows | Run `chcp 65001` before using pandoc |\n| Missing standalone headers | Add `-s` flag for complete documents |\n| Math not rendering | Use `--mathml` or `--mathjax` option |\n| Tables not rendering | Ensure proper table syntax with pipes and dashes |\n\n## Working with [`gomarkdown\u002Fmarkdown`](references\u002Fgomarkdown.md)\n\n### Prerequisites\n\n- Go 1.18 or higher installed\n- Install the library: `go get github.com\u002Fgomarkdown\u002Fmarkdown`\n- For CLI tool: `go install github.com\u002Fgomarkdown\u002Fmdtohtml@latest`\n\n### Quick Conversion Methods\n\n#### Method 1: Simple Conversion (Go)\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"github.com\u002Fgomarkdown\u002Fmarkdown\"\n)\n\nfunc main() {\n    md := []byte(\"# Hello World\\n\\nThis is **bold** text.\")\n    html := markdown.ToHTML(md, nil, nil)\n    fmt.Println(string(html))\n}\n```\n\n#### Method 2: CLI Tool\n\n```bash\n# Install mdtohtml\ngo install github.com\u002Fgomarkdown\u002Fmdtohtml@latest\n\n# Convert file\nmdtohtml input.md output.html\n\n# Convert file (output to stdout)\nmdtohtml input.md\n```\n\n#### Method 3: Custom Parser and Renderer\n\n```go\npackage main\n\nimport (\n    \"github.com\u002Fgomarkdown\u002Fmarkdown\"\n    \"github.com\u002Fgomarkdown\u002Fmarkdown\u002Fhtml\"\n    \"github.com\u002Fgomarkdown\u002Fmarkdown\u002Fparser\"\n)\n\nfunc mdToHTML(md []byte) []byte {\n    \u002F\u002F Create parser with extensions\n    extensions := parser.CommonExtensions | parser.AutoHeadingIDs | parser.NoEmptyLineBeforeBlock\n    p := parser.NewWithExtensions(extensions)\n    doc := p.Parse(md)\n\n    \u002F\u002F Create HTML renderer with extensions\n    htmlFlags := html.CommonFlags | html.HrefTargetBlank\n    opts := html.RendererOptions{Flags: htmlFlags}\n    renderer := html.NewRenderer(opts)\n\n    return markdown.Render(doc, renderer)\n}\n```\n\n### CLI Configuration\n\nThe `mdtohtml` CLI tool has minimal options:\n\n```bash\nmdtohtml input-file [output-file]\n```\n\nFor advanced configuration, use the Go library programmatically with parser and renderer options:\n\n| Parser Extension | Description |\n|------------------|-------------|\n| `parser.CommonExtensions` | Tables, fenced code, autolinks, strikethrough, etc. |\n| `parser.AutoHeadingIDs` | Generate IDs for headings |\n| `parser.NoEmptyLineBeforeBlock` | No blank line needed before blocks |\n| `parser.MathJax` | MathJax support for LaTeX math |\n\n| HTML Flag | Description |\n|-----------|-------------|\n| `html.CommonFlags` | Common HTML output flags |\n| `html.HrefTargetBlank` | Add `target=\"_blank\"` to links |\n| `html.CompletePage` | Generate complete HTML page |\n| `html.UseXHTML` | Generate XHTML output |\n\n### Security Warning\n\n⚠️ **gomarkdown does NOT sanitize output HTML.** For untrusted input, use Bluemonday:\n\n```go\nimport (\n    \"github.com\u002Fmicrocosm-cc\u002Fbluemonday\"\n    \"github.com\u002Fgomarkdown\u002Fmarkdown\"\n)\n\nmaybeUnsafeHTML := markdown.ToHTML(md, nil, nil)\nhtml := bluemonday.UGCPolicy().SanitizeBytes(maybeUnsafeHTML)\n```\n\nRecommended sanitizer: [Bluemonday](https:\u002F\u002Fgithub.com\u002Fmicrocosm-cc\u002Fbluemonday)\n\n### Supported Markdown Flavors\n\n| Flavor | Support |\n|--------|---------|\n| Original Markdown | 100% |\n| CommonMark | High (with extensions) |\n| GitHub Flavored Markdown | High (tables, fenced code, strikethrough) |\n| MathJax\u002FLaTeX Math | Supported via extension |\n| Mmark | Supported |\n\n### Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| Windows\u002FMac newlines not parsed | Use `parser.NormalizeNewlines(input)` |\n| Tables not rendering | Enable `parser.Tables` extension |\n| Code blocks without highlighting | Integrate with syntax highlighter like Chroma |\n| Math not rendering | Enable `parser.MathJax` extension |\n| XSS vulnerabilities | Use Bluemonday to sanitize output |\n\n## Working with [`jekyll`](references\u002Fjekyll.md)\n\n### Prerequisites\n\n- Ruby version 2.7.0 or higher\n- RubyGems\n- GCC and Make (for native extensions)\n- Install Jekyll and Bundler: `gem install jekyll bundler`\n\n### Quick Conversion Methods\n\n#### Method 1: Create New Site\n\n```bash\n# Create a new Jekyll site\njekyll new myblog\n\n# Change to site directory\ncd myblog\n\n# Build and serve locally\nbundle exec jekyll serve\n\n# Access at http:\u002F\u002Flocalhost:4000\n```\n\n#### Method 2: Build Static Site\n\n```bash\n# Build site to _site directory\nbundle exec jekyll build\n\n# Build with production environment\nJEKYLL_ENV=production bundle exec jekyll build\n```\n\n#### Method 3: Live Reload Development\n\n```bash\n# Serve with live reload\nbundle exec jekyll serve --livereload\n\n# Serve with drafts\nbundle exec jekyll serve --drafts\n```\n\n### CLI Configuration\n\n| Command | Description |\n|---------|-------------|\n| `jekyll new \u003Cpath>` | Create new Jekyll site |\n| `jekyll build` | Build site to `_site` directory |\n| `jekyll serve` | Build and serve locally |\n| `jekyll clean` | Remove generated files |\n| `jekyll doctor` | Check for configuration issues |\n\n| Serve Options | Description |\n|---------------|-------------|\n| `--livereload` | Reload browser on changes |\n| `--drafts` | Include draft posts |\n| `--port \u003Cport>` | Set server port (default: 4000) |\n| `--host \u003Chost>` | Set server host (default: localhost) |\n| `--baseurl \u003Curl>` | Set base URL |\n\n### Security Warning\n\n⚠️ **Jekyll security considerations:**\n\n- Avoid using `safe: false` in production\n- Use `exclude` in `_config.yml` to prevent sensitive files from being published\n- Sanitize user-generated content if accepting external input\n- Keep Jekyll and plugins updated\n\n```yaml\n# _config.yml security settings\nexclude:\n  - Gemfile\n  - Gemfile.lock\n  - node_modules\n  - vendor\n```\n\n### Supported Markdown Flavors\n\n| Flavor | Support |\n|--------|---------|\n| Kramdown (default) | 100% |\n| CommonMark | Via plugin (jekyll-commonmark) |\n| GitHub Flavored Markdown | Via plugin (jekyll-commonmark-ghpages) |\n| RedCarpet | Via plugin (deprecated) |\n\nConfigure markdown processor in `_config.yml`:\n\n```yaml\nmarkdown: kramdown\nkramdown:\n  input: GFM\n  syntax_highlighter: rouge\n```\n\n### Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| Ruby 3.0+ fails to serve | Run `bundle add webrick` |\n| Gem dependency errors | Run `bundle install` |\n| Slow builds | Use `--incremental` flag |\n| Liquid syntax errors | Check for unescaped `{` in content |\n| Plugin not loading | Add to `_config.yml` plugins list |\n\n## Working with [`hugo`](references\u002Fhugo.md)\n\n### Prerequisites\n\n- Hugo installed (download from \u003Chttps:\u002F\u002Fgohugo.io\u002Finstallation\u002F>)\n- Git (recommended for themes and modules)\n- Go (optional, for Hugo Modules)\n\n### Quick Conversion Methods\n\n#### Method 1: Create New Site\n\n```bash\n# Create a new Hugo site\nhugo new site mysite\n\n# Change to site directory\ncd mysite\n\n# Add a theme\ngit init\ngit submodule add https:\u002F\u002Fgithub.com\u002FtheNewDynamic\u002Fgohugo-theme-ananke themes\u002Fananke\necho \"theme = 'ananke'\" >> hugo.toml\n\n# Create content\nhugo new content posts\u002Fmy-first-post.md\n\n# Start development server\nhugo server -D\n```\n\n#### Method 2: Build Static Site\n\n```bash\n# Build site to public directory\nhugo\n\n# Build with minification\nhugo --minify\n\n# Build for specific environment\nhugo --environment production\n```\n\n#### Method 3: Development Server\n\n```bash\n# Start server with drafts\nhugo server -D\n\n# Start with live reload and bind to all interfaces\nhugo server --bind 0.0.0.0 --baseURL http:\u002F\u002Flocalhost:1313\u002F\n\n# Start with specific port\nhugo server --port 8080\n```\n\n### CLI Configuration\n\n| Command | Description |\n|---------|-------------|\n| `hugo new site \u003Cname>` | Create new Hugo site |\n| `hugo new content \u003Cpath>` | Create new content file |\n| `hugo` | Build site to `public` directory |\n| `hugo server` | Start development server |\n| `hugo mod init` | Initialize Hugo Modules |\n\n| Build Options | Description |\n|---------------|-------------|\n| `-D, --buildDrafts` | Include draft content |\n| `-E, --buildExpired` | Include expired content |\n| `-F, --buildFuture` | Include future-dated content |\n| `--minify` | Minify output |\n| `--gc` | Run garbage collection after build |\n| `-d, --destination \u003Cpath>` | Output directory |\n\n| Server Options | Description |\n|----------------|-------------|\n| `--bind \u003Cip>` | Interface to bind to |\n| `-p, --port \u003Cport>` | Port number (default: 1313) |\n| `--liveReloadPort \u003Cport>` | Live reload port |\n| `--disableLiveReload` | Disable live reload |\n| `--navigateToChanged` | Navigate to changed content |\n\n### Security Warning\n\n⚠️ **Hugo security considerations:**\n\n- Configure security policy in `hugo.toml` for external commands\n- Use `--enableGitInfo` carefully with public repositories\n- Validate shortcode parameters for user-generated content\n\n```toml\n# hugo.toml security settings\n[security]\n  enableInlineShortcodes = false\n  [security.exec]\n    allow = ['^go$', '^npx$', '^postcss$']\n  [security.funcs]\n    getenv = ['^HUGO_', '^CI$']\n  [security.http]\n    methods = ['(?i)GET|POST']\n    urls = ['.*']\n```\n\n### Supported Markdown Flavors\n\n| Flavor | Support |\n|--------|---------|\n| Goldmark (default) | 100% (CommonMark compliant) |\n| GitHub Flavored Markdown | Full (tables, strikethrough, autolinks) |\n| CommonMark | 100% |\n| Blackfriday (legacy) | Deprecated, not recommended |\n\nConfigure markdown in `hugo.toml`:\n\n```toml\n[markup]\n  [markup.goldmark]\n    [markup.goldmark.extensions]\n      definitionList = true\n      footnote = true\n      linkify = true\n      strikethrough = true\n      table = true\n      taskList = true\n    [markup.goldmark.renderer]\n      unsafe = false  # Set true to allow raw HTML\n```\n\n### Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| \"Page not found\" on paths | Check `baseURL` in config |\n| Theme not loading | Verify theme in `themes\u002F` or Hugo Modules |\n| Slow builds | Use `--templateMetrics` to identify bottlenecks |\n| Raw HTML not rendering | Set `unsafe = true` in goldmark config |\n| Images not loading | Check `static\u002F` folder structure |\n| Module errors | Run `hugo mod tidy` |\n\n## References\n\n### Writing and Styling Markdown\n\n- [basic-markdown.md](references\u002Fbasic-markdown.md)\n- [code-blocks.md](references\u002Fcode-blocks.md)\n- [collapsed-sections.md](references\u002Fcollapsed-sections.md)\n- [tables.md](references\u002Ftables.md)\n- [writing-mathematical-expressions.md](references\u002Fwriting-mathematical-expressions.md)\n- Markdown Guide: \u003Chttps:\u002F\u002Fwww.markdownguide.org\u002Fbasic-syntax\u002F>\n- Styling Markdown: \u003Chttps:\u002F\u002Fgithub.com\u002Fsindresorhus\u002Fgithub-markdown-css>\n\n### [`markedJS\u002Fmarked`](references\u002Fmarked.md)\n\n- Official documentation: \u003Chttps:\u002F\u002Fmarked.js.org\u002F>\n- Advanced options: \u003Chttps:\u002F\u002Fmarked.js.org\u002Fusing_advanced>\n- Extensibility: \u003Chttps:\u002F\u002Fmarked.js.org\u002Fusing_pro>\n- GitHub repository: \u003Chttps:\u002F\u002Fgithub.com\u002Fmarkedjs\u002Fmarked>\n\n### [`pandoc`](references\u002Fpandoc.md)\n\n- Getting started: \u003Chttps:\u002F\u002Fpandoc.org\u002Fgetting-started.html>\n- Official documentation: \u003Chttps:\u002F\u002Fpandoc.org\u002FMANUAL.html>\n- Extensibility: \u003Chttps:\u002F\u002Fpandoc.org\u002Fextras.html>\n- GitHub repository: \u003Chttps:\u002F\u002Fgithub.com\u002Fjgm\u002Fpandoc>\n\n### [`gomarkdown\u002Fmarkdown`](references\u002Fgomarkdown.md)\n\n- Official documentation: \u003Chttps:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Fgomarkdown\u002Fmarkdown>\n- Advanced configuration: \u003Chttps:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Fgomarkdown\u002Fmarkdown@v0.0.0-20250810172220-2e2c11897d1a\u002Fhtml>\n- Markdown processing: \u003Chttps:\u002F\u002Fblog.kowalczyk.info\u002Farticle\u002Fcxn3\u002Fadvanced-markdown-processing-in-go.html>\n- GitHub repository: \u003Chttps:\u002F\u002Fgithub.com\u002Fgomarkdown\u002Fmarkdown>\n\n### [`jekyll`](references\u002Fjekyll.md)\n\n- Official documentation: \u003Chttps:\u002F\u002Fjekyllrb.com\u002Fdocs\u002F>\n- Configuration options: \u003Chttps:\u002F\u002Fjekyllrb.com\u002Fdocs\u002Fconfiguration\u002Foptions\u002F>\n- Plugins: \u003Chttps:\u002F\u002Fjekyllrb.com\u002Fdocs\u002Fplugins\u002F>\n  - [Installation](https:\u002F\u002Fjekyllrb.com\u002Fdocs\u002Fplugins\u002Finstallation\u002F)\n  - [Generators](https:\u002F\u002Fjekyllrb.com\u002Fdocs\u002Fplugins\u002Fgenerators\u002F)\n  - [Converters](https:\u002F\u002Fjekyllrb.com\u002Fdocs\u002Fplugins\u002Fconverters\u002F)\n  - [Commands](https:\u002F\u002Fjekyllrb.com\u002Fdocs\u002Fplugins\u002Fcommands\u002F)\n  - [Tags](https:\u002F\u002Fjekyllrb.com\u002Fdocs\u002Fplugins\u002Ftags\u002F)\n  - [Filters](https:\u002F\u002Fjekyllrb.com\u002Fdocs\u002Fplugins\u002Ffilters\u002F)\n  - [Hooks](https:\u002F\u002Fjekyllrb.com\u002Fdocs\u002Fplugins\u002Fhooks\u002F)\n- GitHub repository: \u003Chttps:\u002F\u002Fgithub.com\u002Fjekyll\u002Fjekyll>\n\n### [`hugo`](references\u002Fhugo.md)\n\n- Official documentation: \u003Chttps:\u002F\u002Fgohugo.io\u002Fdocumentation\u002F>\n- All Settings: \u003Chttps:\u002F\u002Fgohugo.io\u002Fconfiguration\u002Fall\u002F>\n- Editor Plugins: \u003Chttps:\u002F\u002Fgohugo.io\u002Ftools\u002Feditors\u002F>\n- GitHub repository: \u003Chttps:\u002F\u002Fgithub.com\u002Fgohugoio\u002Fhugo>\n","# Markdown to HTML Conversion\n\nExpert skill for converting Markdown documents to HTML using the marked.js library, or writing data conversion scripts; in this case scripts similar to [markedJS\u002Fmarked](https:\u002F\u002Fgithub.com\u002Fmarkedjs\u002Fmarked) repository. For custom scripts knowledge is not confined to `marked.js`, but data conversion methods are utilized from tools like [pandoc](https:\u002F\u002Fgithub.com\u002Fjgm\u002Fpandoc) and [gomarkdown\u002Fmarkdown](https:\u002F\u002Fgithub.com\u002Fgomarkdown\u002Fmarkdown) for data conversion; [jekyll\u002Fjekyll](https:\u002F\u002Fgithub.com\u002Fjekyll\u002Fjekyll) and [gohugoio\u002Fhugo](https:\u002F\u002Fgithub.com\u002Fgohugoio\u002Fhugo) for templating systems.\n\nThe conversion script or tool should handle single files, batch conversions, and advanced configurations.\n\n## When to Use This Skill\n\n- User asks to \"convert markdown to html\" or \"transform md files\"\n- User wants to \"render markdown\" as HTML output\n- User needs to generate HTML documentation from .md files\n- User is building static sites from Markdown content\n- User is building template system that converts markdown to html\n- User is working on a tool, widget, or custom template for an existing templating system\n- User wants to preview Markdown as rendered HTML\n\n## Converting Markdown to HTML\n\n### Essential Basic Conversions\n\nFor more see [basic-markdown-to-html.md](references\u002Fbasic-markdown-to-html.md)\n\n```text\n    ```markdown\n    # Level 1\n    ## Level 2\n\n    One sentence with a [link](https:\u002F\u002Fexample.com), and a HTML snippet like `\u003Cp>paragraph tag\u003C\u002Fp>`.\n\n    - `ul` list item 1\n    - `ul` list item 2\n\n    1. `ol` list item 1\n    2. `ol` list item 1\n\n    | Table Item | Description |\n    | One | One is the spelling of the number `1`. |\n    | Two | Two is the spelling of the number `2`. |\n\n    ```js\n    var one = 1;\n    var two = 2;\n\n    function simpleMath(x, y) {\n     return x + y;\n    }\n    console.log(simpleMath(one, two));\n    ```\n    ```\n\n    ```html\n    \u003Ch1>Level 1\u003C\u002Fh1>\n    \u003Ch2>Level 2\u003C\u002Fh2>\n\n    \u003Cp>One sentence with a \u003Ca href=\"https:\u002F\u002Fexample.com\">link\u003C\u002Fa>, and a HTML snippet like \u003Ccode>&lt;p&gt;paragraph tag&lt;\u002Fp&gt;\u003C\u002Fcode>.\u003C\u002Fp>\n\n    \u003Cul>\n     \u003Cli>`ul` list item 1\u003C\u002Fli>\n     \u003Cli>`ul` list item 2\u003C\u002Fli>\n    \u003C\u002Ful>\n\n    \u003Col>\n     \u003Cli>`ol` list item 1\u003C\u002Fli>\n     \u003Cli>`ol` list item 2\u003C\u002Fli>\n    \u003C\u002Fol>\n\n    \u003Ctable>\n     \u003Cthead>\n      \u003Ctr>\n       \u003Cth>Table Item\u003C\u002Fth>\n       \u003Cth>Description\u003C\u002Fth>\n      \u003C\u002Ftr>\n     \u003C\u002Fthead>\n     \u003Ctbody>\n      \u003Ctr>\n       \u003Ctd>One\u003C\u002Ftd>\n       \u003Ctd>One is the spelling of the number `1`.\u003C\u002Ftd>\n      \u003C\u002Ftr>\n      \u003Ctr>\n       \u003Ctd>Two\u003C\u002Ftd>\n       \u003Ctd>Two is the spelling of the number `2`.\u003C\u002Ftd>\n      \u003C\u002Ftr>\n     \u003C\u002Ftbody>\n    \u003C\u002Ftable>\n\n    \u003Cpre>\n     \u003Ccode>var one = 1;\n     var two = 2;\n\n     function simpleMath(x, y) {\n      return x + y;\n     }\n     console.log(simpleMath(one, two));\u003C\u002Fcode>\n    \u003C\u002Fpre>\n    ```\n```\n\n### Code Block Conversions\n\nFor more see [code-blocks-to-html.md](references\u002Fcode-blocks-to-html.md)\n\n```text\n\n    ```markdown\n    your code here\n    ```\n\n    ```html\n    \u003Cpre>\u003Ccode class=\"language-md\">\n    your code here\n    \u003C\u002Fcode>\u003C\u002Fpre>\n    ```\n\n    ```js\n    console.log(\"Hello world\");\n    ```\n\n    ```html\n    \u003Cpre>\u003Ccode class=\"language-js\">\n    console.log(\"Hello world\");\n    \u003C\u002Fcode>\u003C\u002Fpre>\n    ```\n\n    ```markdown\n      ```\n\n      ```\n      visible backticks\n      ```\n\n      ```\n    ```\n\n    ```html\n      \u003Cpre>\u003Ccode>\n      ```\n\n      visible backticks\n\n      ```\n      \u003C\u002Fcode>\u003C\u002Fpre>\n    ```\n```\n\n### Collapsed Section Conversions\n\nFor more see [collapsed-sections-to-html.md](references\u002Fcollapsed-sections-to-html.md)\n\n```text\n    ```markdown\n    \u003Cdetails>\n    \u003Csummary>More info\u003C\u002Fsummary>\n\n    ### Header inside\n\n    - Lists\n    - **Formatting**\n    - Code blocks\n\n        ```js\n        console.log(\"Hello\");\n        ```\n\n    \u003C\u002Fdetails>\n    ```\n\n    ```html\n    \u003Cdetails>\n    \u003Csummary>More info\u003C\u002Fsummary>\n\n    \u003Ch3>Header inside\u003C\u002Fh3>\n\n    \u003Cul>\n     \u003Cli>Lists\u003C\u002Fli>\n     \u003Cli>\u003Cstrong>Formatting\u003C\u002Fstrong>\u003C\u002Fli>\n     \u003Cli>Code blocks\u003C\u002Fli>\n    \u003C\u002Ful>\n\n    \u003Cpre>\n     \u003Ccode class=\"language-js\">console.log(\"Hello\");\u003C\u002Fcode>\n    \u003C\u002Fpre>\n\n    \u003C\u002Fdetails>\n    ```\n```\n\n### Mathematical Expression Conversions\n\nFor more see [writing-mathematical-expressions-to-html.md](references\u002Fwriting-mathematical-expressions-to-html.md)\n\n```text\n    ```markdown\n    This sentence uses `$` delimiters to show math inline: $\\sqrt{3x-1}+(1+x)^2$\n    ```\n\n    ```html\n    \u003Cp>This sentence uses \u003Ccode>$\u003C\u002Fcode> delimiters to show math inline:\n     \u003Cmath-renderer>\u003Cmath xmlns=\"http:\u002F\u002Fwww.w3.org\u002F1998\u002FMath\u002FMathML\">\n      \u003Cmsqrt>\u003Cmn>3\u003C\u002Fmn>\u003Cmi>x\u003C\u002Fmi>\u003Cmo>−\u003C\u002Fmo>\u003Cmn>1\u003C\u002Fmn>\u003C\u002Fmsqrt>\n      \u003Cmo>+\u003C\u002Fmo>\u003Cmo>(\u003C\u002Fmo>\u003Cmn>1\u003C\u002Fmn>\u003Cmo>+\u003C\u002Fmo>\u003Cmi>x\u003C\u002Fmi>\n      \u003Cmsup>\u003Cmo>)\u003C\u002Fmo>\u003Cmn>2\u003C\u002Fmn>\u003C\u002Fmsup>\n     \u003C\u002Fmath>\n    \u003C\u002Fmath-renderer>\n    \u003C\u002Fp>\n    ```\n\n    ```markdown\n    **The Cauchy-Schwarz Inequality**\\\n    $$\\left( \\sum_{k=1}^n a_k b_k \\right)^2 \\leq \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right)$$\n    ```\n\n    ```html\n    \u003Cp>\u003Cstrong>The Cauchy-Schwarz Inequality\u003C\u002Fstrong>\u003Cbr>\n     \u003Cmath-renderer>\n      \u003Cmath xmlns=\"http:\u002F\u002Fwww.w3.org\u002F1998\u002FMath\u002FMathML\">\n       \u003Cmsup>\n        \u003Cmrow>\u003Cmo>(\u003C\u002Fmo>\n         \u003Cmunderover>\u003Cmo data-mjx-texclass=\"OP\">∑\u003C\u002Fmo>\n          \u003Cmrow>\u003Cmi>k\u003C\u002Fmi>\u003Cmo>=\u003C\u002Fmo>\u003Cmn>1\u003C\u002Fmn>\u003C\u002Fmrow>\u003Cmi>n\u003C\u002Fmi>\n         \u003C\u002Fmunderover>\n         \u003Cmsub>\u003Cmi>a\u003C\u002Fmi>\u003Cmi>k\u003C\u002Fmi>\u003C\u002Fmsub>\n         \u003Cmsub>\u003Cmi>b\u003C\u002Fmi>\u003Cmi>k\u003C\u002Fmi>\u003C\u002Fmsub>\n         \u003Cmo>)\u003C\u002Fmo>\n        \u003C\u002Fmrow>\n        \u003Cmn>2\u003C\u002Fmn>\n       \u003C\u002Fmsup>\n       \u003Cmo>≤\u003C\u002Fmo>\n       \u003Cmrow>\u003Cmo>(\u003C\u002Fmo>\n        \u003Cmunderover>\u003Cmo>∑\u003C\u002Fmo>\n         \u003Cmrow>\u003Cmi>k\u003C\u002Fmi>\u003Cmo>=\u003C\u002Fmo>\u003Cmn>1\u003C\u002Fmn>\u003C\u002Fmrow>\n         \u003Cmi>n\u003C\u002Fmi>\n        \u003C\u002Fmunderover>\n        \u003Cmsubsup>\u003Cmi>a\u003C\u002Fmi>\u003Cmi>k\u003C\u002Fmi>\u003Cmn>2\u003C\u002Fmn>\u003C\u002Fmsubsup>\n        \u003Cmo>)\u003C\u002Fmo>\n       \u003C\u002Fmrow>\n       \u003Cmrow>\u003Cmo>(\u003C\u002Fmo>\n         \u003Cmunderover>\u003Cmo>∑\u003C\u002Fmo>\n          \u003Cmrow>\u003Cmi>k\u003C\u002Fmi>\u003Cmo>=\u003C\u002Fmo>\u003Cmn>1\u003C\u002Fmn>\u003C\u002Fmrow>\n          \u003Cmi>n\u003C\u002Fmi>\n         \u003C\u002Fmunderover>\n         \u003Cmsubsup>\u003Cmi>b\u003C\u002Fmi>\u003Cmi>k\u003C\u002Fmi>\u003Cmn>2\u003C\u002Fmn>\u003C\u002Fmsubsup>\n         \u003Cmo>)\u003C\u002Fmo>\n       \u003C\u002Fmrow>\n      \u003C\u002Fmath>\n     \u003C\u002Fmath-renderer>\u003C\u002Fp>\n    ```\n```\n\n### Table Conversions\n\nFor more see [tables-to-html.md](references\u002Ftables-to-html.md)\n\n```text\n    ```markdown\n    | First Header  | Second Header |\n    | ------------- | ------------- |\n    | Content Cell  | Content Cell  |\n    | Content Cell  | Content Cell  |\n    ```\n\n    ```html\n    \u003Ctable>\n     \u003Cthead>\u003Ctr>\u003Cth>First Header\u003C\u002Fth>\u003Cth>Second Header\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\n     \u003Ctbody>\n      \u003Ctr>\u003Ctd>Content Cell\u003C\u002Ftd>\u003Ctd>Content Cell\u003C\u002Ftd>\u003C\u002Ftr>\n      \u003Ctr>\u003Ctd>Content Cell\u003C\u002Ftd>\u003Ctd>Content Cell\u003C\u002Ftd>\u003C\u002Ftr>\n     \u003C\u002Ftbody>\n    \u003C\u002Ftable>\n    ```\n\n    ```markdown\n    | Left-aligned | Center-aligned | Right-aligned |\n    | :---         |     :---:      |          ---: |\n    | git status   | git status     | git status    |\n    | git diff     | git diff       | git diff      |\n    ```\n\n    ```html\n    \u003Ctable>\n      \u003Cthead>\n       \u003Ctr>\n        \u003Cth align=\"left\">Left-aligned\u003C\u002Fth>\n        \u003Cth align=\"center\">Center-aligned\u003C\u002Fth>\n        \u003Cth align=\"right\">Right-aligned\u003C\u002Fth>\n       \u003C\u002Ftr>\n      \u003C\u002Fthead>\n      \u003Ctbody>\n       \u003Ctr>\n        \u003Ctd align=\"left\">git status\u003C\u002Ftd>\n        \u003Ctd align=\"center\">git status\u003C\u002Ftd>\n        \u003Ctd align=\"right\">git status\u003C\u002Ftd>\n       \u003C\u002Ftr>\n       \u003Ctr>\n        \u003Ctd align=\"left\">git diff\u003C\u002Ftd>\n        \u003Ctd align=\"center\">git diff\u003C\u002Ftd>\n        \u003Ctd align=\"right\">git diff\u003C\u002Ftd>\n       \u003C\u002Ftr>\n      \u003C\u002Ftbody>\n    \u003C\u002Ftable>\n    ```\n```\n\n## Working with [`markedJS\u002Fmarked`](references\u002Fmarked.md)\n\n### Prerequisites\n\n- Node.js installed (for CLI or programmatic usage)\n- Install marked globally for CLI: `npm install -g marked`\n- Or install locally: `npm install marked`\n\n### Quick Conversion Methods\n\nSee [marked.md](references\u002Fmarked.md) **Quick Conversion Methods**\n\n### Step-by-Step Workflows\n\nSee [marked.md](references\u002Fmarked.md) **Step-by-Step Workflows**\n\n### CLI Configuration\n\n### Using Config Files\n\nCreate `~\u002F.marked.json` for persistent options:\n\n```json\n{\n  \"gfm\": true,\n  \"breaks\": true\n}\n```\n\nOr use a custom config:\n\n```bash\nmarked -i input.md -o output.html -c config.json\n```\n\n### CLI Options Reference\n\n| Option | Description |\n|--------|-------------|\n| `-i, --input \u003Cfile>` | Input Markdown file |\n| `-o, --output \u003Cfile>` | Output HTML file |\n| `-s, --string \u003Cstring>` | Parse string instead of file |\n| `-c, --config \u003Cfile>` | Use custom config file |\n| `--gfm` | Enable GitHub Flavored Markdown |\n| `--breaks` | Convert newlines to `\u003Cbr>` |\n| `--help` | Show all options |\n\n### Security Warning\n\n⚠️ **Marked does NOT sanitize output HTML.** For untrusted input, use a sanitizer:\n\n```javascript\nimport { marked } from 'marked';\nimport DOMPurify from 'dompurify';\n\nconst unsafeHtml = marked.parse(untrustedMarkdown);\nconst safeHtml = DOMPurify.sanitize(unsafeHtml);\n```\n\nRecommended sanitizers:\n\n- [DOMPurify](https:\u002F\u002Fgithub.com\u002Fcure53\u002FDOMPurify) (recommended)\n- [sanitize-html](https:\u002F\u002Fgithub.com\u002Fapostrophecms\u002Fsanitize-html)\n- [js-xss](https:\u002F\u002Fgithub.com\u002Fleizongmin\u002Fjs-xss)\n\n### Supported Markdown Flavors\n\n| Flavor | Support |\n|--------|---------|\n| Original Markdown | 100% |\n| CommonMark 0.31 | 98% |\n| GitHub Flavored Markdown | 97% |\n\n### Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| Special characters at file start | Strip zero-width chars: `content.replace(\u002F^[\\u200B\\u200C\\u200D\\uFEFF]\u002F,\"\")` |\n| Code blocks not highlighting | Add a syntax highlighter like highlight.js |\n| Tables not rendering | Ensure `gfm: true` option is set |\n| Line breaks ignored | Set `breaks: true` in options |\n| XSS vulnerability concerns | Use DOMPurify to sanitize output |\n\n## Working with [`pandoc`](references\u002Fpandoc.md)\n\n### Prerequisites\n\n- Pandoc installed (download from \u003Chttps:\u002F\u002Fpandoc.org\u002Finstalling.html>)\n- For PDF output: LaTeX installation (MacTeX on macOS, MiKTeX on Windows, texlive on Linux)\n- Terminal\u002Fcommand prompt access\n\n### Quick Conversion Methods\n\n#### Method 1: CLI Basic Conversion\n\n```bash\n# Convert markdown to HTML\npandoc input.md -o output.html\n\n# Convert with standalone document (includes header\u002Ffooter)\npandoc input.md -s -o output.html\n\n# Explicit format specification\npandoc input.md -f markdown -t html -s -o output.html\n```\n\n#### Method 2: Filter Mode (Interactive)\n\n```bash\n# Start pandoc as a filter\npandoc\n\n# Type markdown, then Ctrl-D (Linux\u002FmacOS) or Ctrl-Z+Enter (Windows)\nHello *pandoc*!\n# Output: \u003Cp>Hello \u003Cem>pandoc\u003C\u002Fem>!\u003C\u002Fp>\n```\n\n#### Method 3: Format Conversion\n\n```bash\n# HTML to Markdown\npandoc -f html -t markdown input.html -o output.md\n\n# Markdown to LaTeX\npandoc input.md -s -o output.tex\n\n# Markdown to PDF (requires LaTeX)\npandoc input.md -s -o output.pdf\n\n# Markdown to Word\npandoc input.md -s -o output.docx\n```\n\n### CLI Configuration\n\n| Option | Description |\n|--------|-------------|\n| `-f, --from \u003Cformat>` | Input format (markdown, html, latex, etc.) |\n| `-t, --to \u003Cformat>` | Output format (html, latex, pdf, docx, etc.) |\n| `-s, --standalone` | Produce standalone document with header\u002Ffooter |\n| `-o, --output \u003Cfile>` | Output file (inferred from extension) |\n| `--mathml` | Convert TeX math to MathML |\n| `--metadata title=\"Title\"` | Set document metadata |\n| `--toc` | Include table of contents |\n| `--template \u003Cfile>` | Use custom template |\n| `--help` | Show all options |\n\n### Security Warning\n\n⚠️ **Pandoc processes input faithfully.** When converting untrusted markdown:\n\n- Use `--sandbox` mode to disable external file access\n- Validate input before processing\n- Sanitize HTML output if displayed in browsers\n\n```bash\n# Run in sandbox mode for untrusted input\npandoc --sandbox input.md -o output.html\n```\n\n### Supported Markdown Flavors\n\n| Flavor | Support |\n|--------|---------|\n| Pandoc Markdown | 100% (native) |\n| CommonMark | Full (use `-f commonmark`) |\n| GitHub Flavored Markdown | Full (use `-f gfm`) |\n| MultiMarkdown | Partial |\n\n### Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| PDF generation fails | Install LaTeX (MacTeX, MiKTeX, or texlive) |\n| Encoding issues on Windows | Run `chcp 65001` before using pandoc |\n| Missing standalone headers | Add `-s` flag for complete documents |\n| Math not rendering | Use `--mathml` or `--mathjax` option |\n| Tables not rendering | Ensure proper table syntax with pipes and dashes |\n\n## Working with [`gomarkdown\u002Fmarkdown`](references\u002Fgomarkdown.md)\n\n### Prerequisites\n\n- Go 1.18 or higher installed\n- Install the library: `go get github.com\u002Fgomarkdown\u002Fmarkdown`\n- For CLI tool: `go install github.com\u002Fgomarkdown\u002Fmdtohtml@latest`\n\n### Quick Conversion Methods\n\n#### Method 1: Simple Conversion (Go)\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"github.com\u002Fgomarkdown\u002Fmarkdown\"\n)\n\nfunc main() {\n    md := []byte(\"# Hello World\\n\\nThis is **bold** text.\")\n    html := markdown.ToHTML(md, nil, nil)\n    fmt.Println(string(html))\n}\n```\n\n#### Method 2: CLI Tool\n\n```bash\n# Install mdtohtml\ngo install github.com\u002Fgomarkdown\u002Fmdtohtml@latest\n\n# Convert file\nmdtohtml input.md output.html\n\n# Convert file (output to stdout)\nmdtohtml input.md\n```\n\n#### Method 3: Custom Parser and Renderer\n\n```go\npackage main\n\nimport (\n    \"github.com\u002Fgomarkdown\u002Fmarkdown\"\n    \"github.com\u002Fgomarkdown\u002Fmarkdown\u002Fhtml\"\n    \"github.com\u002Fgomarkdown\u002Fmarkdown\u002Fparser\"\n)\n\nfunc mdToHTML(md []byte) []byte {\n    \u002F\u002F Create parser with extensions\n    extensions := parser.CommonExtensions | parser.AutoHeadingIDs | parser.NoEmptyLineBeforeBlock\n    p := parser.NewWithExtensions(extensions)\n    doc := p.Parse(md)\n\n    \u002F\u002F Create HTML renderer with extensions\n    htmlFlags := html.CommonFlags | html.HrefTargetBlank\n    opts := html.RendererOptions{Flags: htmlFlags}\n    renderer := html.NewRenderer(opts)\n\n    return markdown.Render(doc, renderer)\n}\n```\n\n### CLI Configuration\n\nThe `mdtohtml` CLI tool has minimal options:\n\n```bash\nmdtohtml input-file [output-file]\n```\n\nFor advanced configuration, use the Go library programmatically with parser and renderer options:\n\n| Parser Extension | Description |\n|------------------|-------------|\n| `parser.CommonExtensions` | Tables, fenced code, autolinks, strikethrough, etc. |\n| `parser.AutoHeadingIDs` | Generate IDs for headings |\n| `parser.NoEmptyLineBeforeBlock` | No blank line needed before blocks |\n| `parser.MathJax` | MathJax support for LaTeX math |\n\n| HTML Flag | Description |\n|-----------|-------------|\n| `html.CommonFlags` | Common HTML output flags |\n| `html.HrefTargetBlank` | Add `target=\"_blank\"` to links |\n| `html.CompletePage` | Generate complete HTML page |\n| `html.UseXHTML` | Generate XHTML output |\n\n### Security Warning\n\n⚠️ **gomarkdown does NOT sanitize output HTML.** For untrusted input, use Bluemonday:\n\n```go\nimport (\n    \"github.com\u002Fmicrocosm-cc\u002Fbluemonday\"\n    \"github.com\u002Fgomarkdown\u002Fmarkdown\"\n)\n\nmaybeUnsafeHTML := markdown.ToHTML(md, nil, nil)\nhtml := bluemonday.UGCPolicy().SanitizeBytes(maybeUnsafeHTML)\n```\n\nRecommended sanitizer: [Bluemonday](https:\u002F\u002Fgithub.com\u002Fmicrocosm-cc\u002Fbluemonday)\n\n### Supported Markdown Flavors\n\n| Flavor | Support |\n|--------|---------|\n| Original Markdown | 100% |\n| CommonMark | High (with extensions) |\n| GitHub Flavored Markdown | High (tables, fenced code, strikethrough) |\n| MathJax\u002FLaTeX Math | Supported via extension |\n| Mmark | Supported |\n\n### Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| Windows\u002FMac newlines not parsed | Use `parser.NormalizeNewlines(input)` |\n| Tables not rendering | Enable `parser.Tables` extension |\n| Code blocks without highlighting | Integrate with syntax highlighter like Chroma |\n| Math not rendering | Enable `parser.MathJax` extension |\n| XSS vulnerabilities | Use Bluemonday to sanitize output |\n\n## Working with [`jekyll`](references\u002Fjekyll.md)\n\n### Prerequisites\n\n- Ruby version 2.7.0 or higher\n- RubyGems\n- GCC and Make (for native extensions)\n- Install Jekyll and Bundler: `gem install jekyll bundler`\n\n### Quick Conversion Methods\n\n#### Method 1: Create New Site\n\n```bash\n# Create a new Jekyll site\njekyll new myblog\n\n# Change to site directory\ncd myblog\n\n# Build and serve locally\nbundle exec jekyll serve\n\n# Access at http:\u002F\u002Flocalhost:4000\n```\n\n#### Method 2: Build Static Site\n\n```bash\n# Build site to _site directory\nbundle exec jekyll build\n\n# Build with production environment\nJEKYLL_ENV=production bundle exec jekyll build\n```\n\n#### Method 3: Live Reload Development\n\n```bash\n# Serve with live reload\nbundle exec jekyll serve --livereload\n\n# Serve with drafts\nbundle exec jekyll serve --drafts\n```\n\n### CLI Configuration\n\n| Command | Description |\n|---------|-------------|\n| `jekyll new \u003Cpath>` | Create new Jekyll site |\n| `jekyll build` | Build site to `_site` directory |\n| `jekyll serve` | Build and serve locally |\n| `jekyll clean` | Remove generated files |\n| `jekyll doctor` | Check for configuration issues |\n\n| Serve Options | Description |\n|---------------|-------------|\n| `--livereload` | Reload browser on changes |\n| `--drafts` | Include draft posts |\n| `--port \u003Cport>` | Set server port (default: 4000) |\n| `--host \u003Chost>` | Set server host (default: localhost) |\n| `--baseurl \u003Curl>` | Set base URL |\n\n### Security Warning\n\n⚠️ **Jekyll security considerations:**\n\n- Avoid using `safe: false` in production\n- Use `exclude` in `_config.yml` to prevent sensitive files from being published\n- Sanitize user-generated content if accepting external input\n- Keep Jekyll and plugins updated\n\n```yaml\n# _config.yml security settings\nexclude:\n  - Gemfile\n  - Gemfile.lock\n  - node_modules\n  - vendor\n```\n\n### Supported Markdown Flavors\n\n| Flavor | Support |\n|--------|---------|\n| Kramdown (default) | 100% |\n| CommonMark | Via plugin (jekyll-commonmark) |\n| GitHub Flavored Markdown | Via plugin (jekyll-commonmark-ghpages) |\n| RedCarpet | Via plugin (deprecated) |\n\nConfigure markdown processor in `_config.yml`:\n\n```yaml\nmarkdown: kramdown\nkramdown:\n  input: GFM\n  syntax_highlighter: rouge\n```\n\n### Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| Ruby 3.0+ fails to serve | Run `bundle add webrick` |\n| Gem dependency errors | Run `bundle install` |\n| Slow builds | Use `--incremental` flag |\n| Liquid syntax errors | Check for unescaped `{` in content |\n| Plugin not loading | Add to `_config.yml` plugins list |\n\n## Working with [`hugo`](references\u002Fhugo.md)\n\n### Prerequisites\n\n- Hugo installed (download from \u003Chttps:\u002F\u002Fgohugo.io\u002Finstallation\u002F>)\n- Git (recommended for themes and modules)\n- Go (optional, for Hugo Modules)\n\n### Quick Conversion Methods\n\n#### Method 1: Create New Site\n\n```bash\n# Create a new Hugo site\nhugo new site mysite\n\n# Change to site directory\ncd mysite\n\n# Add a theme\ngit init\ngit submodule add https:\u002F\u002Fgithub.com\u002FtheNewDynamic\u002Fgohugo-theme-ananke themes\u002Fananke\necho \"theme = 'ananke'\" >> hugo.toml\n\n# Create content\nhugo new content posts\u002Fmy-first-post.md\n\n# Start development server\nhugo server -D\n```\n\n#### Method 2: Build Static Site\n\n```bash\n# Build site to public directory\nhugo\n\n# Build with minification\nhugo --minify\n\n# Build for specific environment\nhugo --environment production\n```\n\n#### Method 3: Development Server\n\n```bash\n# Start server with drafts\nhugo server -D\n\n# Start with live reload and bind to all interfaces\nhugo server --bind 0.0.0.0 --baseURL http:\u002F\u002Flocalhost:1313\u002F\n\n# Start with specific port\nhugo server --port 8080\n```\n\n### CLI Configuration\n\n| Command | Description |\n|---------|-------------|\n| `hugo new site \u003Cname>` | Create new Hugo site |\n| `hugo new content \u003Cpath>` | Create new content file |\n| `hugo` | Build site to `public` directory |\n| `hugo server` | Start development server |\n| `hugo mod init` | Initialize Hugo Modules |\n\n| Build Options | Description |\n|---------------|-------------|\n| `-D, --buildDrafts` | Include draft content |\n| `-E, --buildExpired` | Include expired content |\n| `-F, --buildFuture` | Include future-dated content |\n| `--minify` | Minify output |\n| `--gc` | Run garbage collection after build |\n| `-d, --destination \u003Cpath>` | Output directory |\n\n| Server Options | Description |\n|----------------|-------------|\n| `--bind \u003Cip>` | Interface to bind to |\n| `-p, --port \u003Cport>` | Port number (default: 1313) |\n| `--liveReloadPort \u003Cport>` | Live reload port |\n| `--disableLiveReload` | Disable live reload |\n| `--navigateToChanged` | Navigate to changed content |\n\n### Security Warning\n\n⚠️ **Hugo security considerations:**\n\n- Configure security policy in `hugo.toml` for external commands\n- Use `--enableGitInfo` carefully with public repositories\n- Validate shortcode parameters for user-generated content\n\n```toml\n# hugo.toml security settings\n[security]\n  enableInlineShortcodes = false\n  [security.exec]\n    allow = ['^go$', '^npx$', '^postcss$']\n  [security.funcs]\n    getenv = ['^HUGO_', '^CI$']\n  [security.http]\n    methods = ['(?i)GET|POST']\n    urls = ['.*']\n```\n\n### Supported Markdown Flavors\n\n| Flavor | Support |\n|--------|---------|\n| Goldmark (default) | 100% (CommonMark compliant) |\n| GitHub Flavored Markdown | Full (tables, strikethrough, autolinks) |\n| CommonMark | 100% |\n| Blackfriday (legacy) | Deprecated, not recommended |\n\nConfigure markdown in `hugo.toml`:\n\n```toml\n[markup]\n  [markup.goldmark]\n    [markup.goldmark.extensions]\n      definitionList = true\n      footnote = true\n      linkify = true\n      strikethrough = true\n      table = true\n      taskList = true\n    [markup.goldmark.renderer]\n      unsafe = false  # Set true to allow raw HTML\n```\n\n### Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| \"Page not found\" on paths | Check `baseURL` in config |\n| Theme not loading | Verify theme in `themes\u002F` or Hugo Modules |\n| Slow builds | Use `--templateMetrics` to identify bottlenecks |\n| Raw HTML not rendering | Set `unsafe = true` in goldmark config |\n| Images not loading | Check `static\u002F` folder structure |\n| Module errors | Run `hugo mod tidy` |\n\n## References\n\n### Writing and Styling Markdown\n\n- [basic-markdown.md](references\u002Fbasic-markdown.md)\n- [code-blocks.md](references\u002Fcode-blocks.md)\n- [collapsed-sections.md](references\u002Fcollapsed-sections.md)\n- [tables.md](references\u002Ftables.md)\n- [writing-mathematical-expressions.md](references\u002Fwriting-mathematical-expressions.md)\n- Markdown Guide: \u003Chttps:\u002F\u002Fwww.markdownguide.org\u002Fbasic-syntax\u002F>\n- Styling Markdown: \u003Chttps:\u002F\u002Fgithub.com\u002Fsindresorhus\u002Fgithub-markdown-css>\n\n### [`markedJS\u002Fmarked`](references\u002Fmarked.md)\n\n- Official documentation: \u003Chttps:\u002F\u002Fmarked.js.org\u002F>\n- Advanced options: \u003Chttps:\u002F\u002Fmarked.js.org\u002Fusing_advanced>\n- Extensibility: \u003Chttps:\u002F\u002Fmarked.js.org\u002Fusing_pro>\n- GitHub repository: \u003Chttps:\u002F\u002Fgithub.com\u002Fmarkedjs\u002Fmarked>\n\n### [`pandoc`](references\u002Fpandoc.md)\n\n- Getting started: \u003Chttps:\u002F\u002Fpandoc.org\u002Fgetting-started.html>\n- Official documentation: \u003Chttps:\u002F\u002Fpandoc.org\u002FMANUAL.html>\n- Extensibility: \u003Chttps:\u002F\u002Fpandoc.org\u002Fextras.html>\n- GitHub repository: \u003Chttps:\u002F\u002Fgithub.com\u002Fjgm\u002Fpandoc>\n\n### [`gomarkdown\u002Fmarkdown`](references\u002Fgomarkdown.md)\n\n- Official documentation: \u003Chttps:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Fgomarkdown\u002Fmarkdown>\n- Advanced configuration: \u003Chttps:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Fgomarkdown\u002Fmarkdown@v0.0.0-20250810172220-2e2c11897d1a\u002Fhtml>\n- Markdown processing: \u003Chttps:\u002F\u002Fblog.kowalczyk.info\u002Farticle\u002Fcxn3\u002Fadvanced-markdown-processing-in-go.html>\n- GitHub repository: \u003Chttps:\u002F\u002Fgithub.com\u002Fgomarkdown\u002Fmarkdown>\n\n### [`jekyll`](references\u002Fjekyll.md)\n\n- Official documentation: \u003Chttps:\u002F\u002Fjekyllrb.com\u002Fdocs\u002F>\n- Configuration options: \u003Chttps:\u002F\u002Fjekyllrb.com\u002Fdocs\u002Fconfiguration\u002Foptions\u002F>\n- Plugins: \u003Chttps:\u002F\u002Fjekyllrb.com\u002Fdocs\u002Fplugins\u002F>\n  - [Installation](https:\u002F\u002Fjekyllrb.com\u002Fdocs\u002Fplugins\u002Finstallation\u002F)\n  - [Generators](https:\u002F\u002Fjekyllrb.com\u002Fdocs\u002Fplugins\u002Fgenerators\u002F)\n  - [Converters](https:\u002F\u002Fjekyllrb.com\u002Fdocs\u002Fplugins\u002Fconverters\u002F)\n  - [Commands](https:\u002F\u002Fjekyllrb.com\u002Fdocs\u002Fplugins\u002Fcommands\u002F)\n  - [Tags](https:\u002F\u002Fjekyllrb.com\u002Fdocs\u002Fplugins\u002Ftags\u002F)\n  - [Filters](https:\u002F\u002Fjekyllrb.com\u002Fdocs\u002Fplugins\u002Ffilters\u002F)\n  - [Hooks](https:\u002F\u002Fjekyllrb.com\u002Fdocs\u002Fplugins\u002Fhooks\u002F)\n- GitHub repository: \u003Chttps:\u002F\u002Fgithub.com\u002Fjekyll\u002Fjekyll>\n\n### [`hugo`](references\u002Fhugo.md)\n\n- Official documentation: \u003Chttps:\u002F\u002Fgohugo.io\u002Fdocumentation\u002F>\n- All Settings: \u003Chttps:\u002F\u002Fgohugo.io\u002Fconfiguration\u002Fall\u002F>\n- Editor Plugins: \u003Chttps:\u002F\u002Fgohugo.io\u002Ftools\u002Feditors\u002F>\n- GitHub repository: \u003Chttps:\u002F\u002Fgithub.com\u002Fgohugoio\u002Fhugo>\n",{"name":5,"description":7},"main","58843b159d7a4050d6b785a98b908cce505c0b92",".agents\u002Fskills\u002Fmarkdown-to-html",0,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent","https:\u002F\u002Fgithub.com\u002FReihantt6","reihsns.web.id","2026-08-19 20:08:18",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Reihantt6\u002Fsns-myagent --skill markdown-to-html",{"tool":38,"command":39},"bunx","bunx skills add Reihantt6\u002Fsns-myagent --skill markdown-to-html",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Reihantt6\u002Fsns-myagent --skill markdown-to-html","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmarkdown-to-html\u002FSKILL.md",true,[46,52,56,60,64,68,72,76,80,84,88,92,96,100,104],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fbasic-markdown-to-html.md","REFERENCE","参考文档",4291,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fbasic-markdown-to-html.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fbasic-markdown.md",31397,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fbasic-markdown.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fcode-blocks-to-html.md",2704,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fcode-blocks-to-html.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fcode-blocks.md",3810,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fcode-blocks.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fcollapsed-sections-to-html.md",2608,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fcollapsed-sections-to-html.md",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fcollapsed-sections.md",2787,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fcollapsed-sections.md",{"path":73,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fgomarkdown.md",6253,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fgomarkdown.md",{"path":77,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fhugo.md",7029,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fhugo.md",{"path":81,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fjekyll.md",5760,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fjekyll.md",{"path":85,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fmarked.md",2984,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fmarked.md",{"path":89,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fpandoc.md",4123,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fpandoc.md",{"path":93,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Ftables-to-html.md",2665,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Ftables-to-html.md",{"path":97,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Ftables.md",3767,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Ftables.md",{"path":101,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fwriting-mathematical-expressions-to-html.md",6004,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fwriting-mathematical-expressions-to-html.md",{"path":105,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fwriting-mathematical-expressions.md",4886,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fwriting-mathematical-expressions.md",[109,116,123,130,137,144],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M77XDCYZ407XYMF2T4P6F7VT","youtube-transcript","Extract transcripts from YouTube videos. Use when the user asks for a transcript, subtitles, or captions of a YouTube video and provides a YouTube URL (youtube.com\u002Fwatch?v=, youtu.be\u002F, or similar). Supports output with or without timestamps.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-transcript\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":19},"01M77XD7PBC98J6MXGJJ2TJ8DX","youtube-thumbnail-design","YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A\u002FB testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-thumbnail-design\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":19},"01M77XD2541C8HXJ6RHYZP4NGJ","youtube-short-maker","Make YouTube Shorts that hold attention with Pexo — vertical 9:16, fast-paced, hook in the first 3 seconds. Describe your topic and Pexo writes the script, generates the shots, picks the models, and assembles a finished Short with music and captions. Use for YouTube Shorts: \"youtube short\", \"make a youtube short\", \"shorts video\", \"short-form video\". NOT for long-form or landscape video.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-short-maker\u002FSKILL.md",[],[],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":19},"01M77XCXKVSYK7KTZ3PQBVVGFD","xcode-project-setup","Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fxcode-project-setup\u002FSKILL.md",[],[],{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":19},"01M77XCR1DV8ZQK2NHWKVY4EWX","x402","Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — \"just use it\" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing touches your codebase) or \"build it in\" (install the SDK and write the key + code into your project). Walks through wallet setup, funding, .env, and a ~$1 test run. Use when the user asks about x402, pay-per-use, USDC payments, or wants Browser Use Cloud without an API key. For the free-tier signup (reverse-CAPTCHA → API key), use `browser-use cloud signup` or the `cloud` skill instead.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fx402\u002FSKILL.md",[],[],{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":19},"01M77XCMD3R3ZBZQQSW6E0793B","x-twitter-scraper","Build GitHub Copilot workflows with Xquik X API SDKs, REST endpoints, hosted Apify Actor runs, MCP tools, TweetClaw OpenClaw plugin installs, signed webhooks, tweet search, user lookup, follower exports, media actions, and agent automation.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fx-twitter-scraper\u002FSKILL.md",[],[]]