[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ADSXPQVNCV068EM7G0A4S3":3,"skill-same:01M6ADSXPQVNCV068EM7G0A4S3":142},{"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":29,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":61,"ownerHtmlUrl":62,"ownerBlogUrl":63,"ownerDescription":64,"updatedAt":65,"install":66,"resources":79},"01M6ADSXPQVNCV068EM7G0A4S3","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.","github\u002Fawesome-copilot","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6AD3PBDYPK7NVFJNJ66Y8RS",41162,"MIT","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmarkdown-to-html\u002FSKILL.md",[18,23,26],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发",{"categoryNo":27,"categoryName":28,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",[30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"markdown to html","markdown","html","template","when","gfm","render","transform","hugo","jekyll","files","md to html","node","writing","system","Tools","generate","documents","workflows","web","cli","2026-11-10 10:12:30",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","5269f7ea2d6c3a9bfda5ed878b6726cf509121fd","skills\u002Fmarkdown-to-html",5360,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot","https:\u002F\u002Fawesome-copilot.github.com\u002F","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-15 04:42:30",{"source":8,"skillName":5,"commands":67,"prompt":77,"zipAvailable":78},[68,71,74],{"tool":69,"command":70},"npx","npx skills add github\u002Fawesome-copilot --skill markdown-to-html",{"tool":72,"command":73},"bunx","bunx skills add github\u002Fawesome-copilot --skill markdown-to-html",{"tool":75,"command":76},"pnpm","pnpm dlx skills add github\u002Fawesome-copilot --skill markdown-to-html","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmarkdown-to-html\u002FSKILL.md",true,[80,86,90,94,98,102,106,110,114,118,122,126,130,134,138],{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fbasic-markdown-to-html.md","REFERENCE","参考文档",4291,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fbasic-markdown-to-html.md",{"path":87,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fbasic-markdown.md",31397,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fbasic-markdown.md",{"path":91,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fcode-blocks-to-html.md",2704,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fcode-blocks-to-html.md",{"path":95,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fcode-blocks.md",3810,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fcode-blocks.md",{"path":99,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fcollapsed-sections-to-html.md",2608,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fcollapsed-sections-to-html.md",{"path":103,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fcollapsed-sections.md",2787,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fcollapsed-sections.md",{"path":107,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":108,"sourceHtmlUrl":109},"references\u002Fgomarkdown.md",6253,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fgomarkdown.md",{"path":111,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":112,"sourceHtmlUrl":113},"references\u002Fhugo.md",7029,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fhugo.md",{"path":115,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":116,"sourceHtmlUrl":117},"references\u002Fjekyll.md",5760,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fjekyll.md",{"path":119,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":120,"sourceHtmlUrl":121},"references\u002Fmarked.md",2984,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fmarked.md",{"path":123,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fpandoc.md",4123,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fpandoc.md",{"path":127,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Ftables-to-html.md",2665,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Ftables-to-html.md",{"path":131,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Ftables.md",3767,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Ftables.md",{"path":135,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Fwriting-mathematical-expressions-to-html.md",6004,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fwriting-mathematical-expressions-to-html.md",{"path":139,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":140,"sourceHtmlUrl":141},"references\u002Fwriting-mathematical-expressions.md",4886,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmarkdown-to-html\u002Freferences\u002Fwriting-mathematical-expressions.md",[143,151,158,168,200,227],{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":150},"01M7B5D8BRA66G07045DF7WDYA","sap-cloud-integration","SAP Cloud Integration (CPI, part of SAP Integration Suite) runtime-specific guidance for building and troubleshooting iFlows. Use when writing or reviewing CPI Groovy scripts, choosing headers vs. exchange properties, designing exception subprocesses, JMS retry, idempotency or data store patterns, or diagnosing adapter errors (SFTP, HTTP\u002FOAuth, SOAP, IDoc, OData, AS2, Cloud Connector) from Message Processing Log (MPL) text. Not for SAP PI\u002FPO, ABAP development, or generic Java\u002FGroovy outside CPI.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fsap-cloud-integration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":150},"01M7B5CYRGSG571NH7EJWT5066","on-device-delegate","Saves cloud-model context by briefing one bounded, read-heavy sub-task (more than about 25 KB of prose, or many files that no single command can answer) to the local-coding plugin's on-device worker, which runs on the local MAI Code 1.1 Flash model. Use for log and test triage, summarizing many files, or extracting facts from large inputs. When the user names this skill, call the skill tool in the same response as your first other tool call, never as a separate step.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fon-device-delegate\u002FSKILL.md",[],[],{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":162,"licenseFileUrl":163,"sourceHtmlUrl":164,"categories":165,"keywords":166,"publishedAt":167},"01M74CBQ0M3ZKGQH8XKQZ2FHB1","scout-issue","Use when a developer wants to find the best GitHub issues to contribute to in a repository. Invoke with \u002Fscout-issue or ask to find good first issues, beginner-friendly issues, or open source work. Asks about experience level, technical skills, time, and contribution type, then searches GitHub issues, scores them, and presents ranked recommendations with match analysis.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fscout-issue\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fscout-issue\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":180,"publishedAt":51},"01M70KXZNX9ES38N2A8M58ZZMZ","supabase-rls-policies","Write, review, and test Supabase Row Level Security (RLS) policies so that one user cannot read or change another user's rows. Use when creating or changing tables, policies, views, or security definer functions in a Supabase project, when reviewing a migration that touches RLS, or when asked to prove user isolation with pgTAP tests that sign in as two users.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fsupabase-rls-policies\u002FSKILL.md",[174,177],{"categoryNo":175,"categoryName":176,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":178,"categoryName":179,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[181,182,183,184,185,186,34,187,188,189,190,191,192,193,194,195,196,197,198,199],"supabase rls policies","supabase rls","supabase","rls","project","with","review","change","read","write","security","isolation","tables","as","tests","prove","use","users","functions",{"skillNo":201,"name":202,"nameZh":6,"description":203,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":204,"categories":205,"keywords":207,"publishedAt":51},"01M70KWA5YWXDV6V8DZ19E3T2Y","skill-distribution-audit","Audit a skill collection before release or investigate installer omissions, archived\u002Ftemplate leakage, duplicate identities, and manifest drift. Reconcile the intended public source set, distribution manifest, and actual discovery output for a specified consumer version. Includes a deterministic set-comparison helper.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fskill-distribution-audit\u002FSKILL.md",[206],{"categoryNo":178,"categoryName":179,"taxonomyType":21,"taxonomyTypeDesc":22},[208,209,210,211,212,213,33,214,215,216,217,218,219,220,221,222,223,224,225,226],"distribution","skill distribution audit","audit","output","reconcile","release","duplicate","investigate","drift","SET","deterministic","installer","for","discovery","comparison","helper","manifest","version","collection",{"skillNo":228,"name":229,"nameZh":6,"description":230,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":231,"sourceHtmlUrl":232,"categories":233,"keywords":239,"publishedAt":51},"01M70KCJPFVW7PPQ49CC5R8JGK","logicapps-custom-code-net10-migration","Migrate Azure Logic Apps Standard local-function custom-code projects from .NET 8 to .NET 10. Use for legacy Logic Apps custom-code workspace upgrades, project\u002Fpackage configuration, custom-worker settings, publication, and integrated VS Code debugging. Not for ordinary .NET applications, standalone Azure Functions, Consumption workflows, or cloud deployment.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Flogicapps-custom-code-net10-migration\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Flogicapps-custom-code-net10-migration\u002FSKILL.md",[234],{"categoryNo":235,"categoryName":236,"taxonomyType":237,"taxonomyTypeDesc":238},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[240,241,242,243,244,245,246,220,185,247,248,249,250,251,252,253,197,254,255,48],"code","logicapps custom code net10 migration","migration","custom","Legacy","projects","standalone","deployment","applications","local","azure","worker","upgrades","package","apps","debugging"]