markdown-to-html
Audited by Runlayer on Feb 21, 2026
Malicious tool definition detected
Supports CLI and Node.js workflows with GFM, CommonMark, and standard Markdown flavors.' --- # Markdown to HTML Conversion Expert skill for converting Markdown documents to HTML using the marked.js library, or writing data conversion scripts; in this case scripts similar to [markedJS/marked](https://github.com/markedjs/marked) repository.
Tool: SKILL.md [2/3] Description: ### Troubleshooting | Issue | Solution | |-------|----------| | Special characters at file start | Strip zero-width chars: `content.replace(/^[\u200B\u200C\u200D\uFEFF]/,"")` | | Code blocks not highlighting | Add a syntax highlighter like highlight.js | | Tables not rendering | Ensure `gfm: true` option is set | | Line breaks ignored | Set `breaks: true` in options | | XSS vulnerability concerns | Use DOMPurify to sanitize output | ## Working with [`pandoc`](re
Tool: SKILL.md [3/3]
Malicious tool definition detected
Tool: references/basic-markdown-to-html.md Description: # Basic Markdown to HTML ## Headings ### Markdown ```md # Basic writing and formatting syntax ``` ### Parsed HTML ```html <h1>Basic writing and formatting syntax</h1> ``` ```md ## Headings ``` ```html <h2>Headings</h2> ``` ```md ### A third-level heading ``` ```html <h3>A third-level heading</h3> ``` ### Markdown ```md Heading 2 --- ``` ### Parsed HTML ```html <h2>Heading 2</h2> ``` --- ## Paragraphs ### Markdown ```md Create sophisticated
Malicious tool definition detected
```  To format code or text into its own distinct block, use triple backticks. ````markdown Some basic Git commands are: ``` git status git add git commit ``` ````  ### Nested Lists You can create a nested list by indenting one or more list items below another item. To create a nested list using the web editor on GitHub or a text editor that uses a monospaced font, like [Visual Studio Code](https://code.visualstudio.com/), you ca
Tool: references/basic-markdown.md [5/5]
Malicious tool definition detected
Tool: references/code-blocks-to-html.md Description: # Code Blocks to HTML ## Fenced Code Blocks (No Language) ### Markdown ``` function test() { console.log("notice the blank line before this function?"); } ``` ### Parsed HTML ```html <pre><code> function test() { console.log("notice the blank line before this function?"); } </code></pre> ``` --- ## GitHub Tip Callout ### Markdown ```md > [!TIP] > To preserve your formatting within a list, make sure to indent non-fenced code blocks by eight spa
Malicious tool definition detected
If so, please update the language support article accordingly. --> You can add an optional language identifier to enable syntax highlighting in your fenced code block.
Malicious tool definition detected
Tool: references/collapsed-sections-to-html.md Description: # Collapsed Sections to HTML ## `<details>` Block (Raw HTML in Markdown) ### Markdown ````md <details> <summary>Tips for collapsed sections</summary> ### You can add a header You can add text within a collapsed section.
Malicious tool definition detected
## Installation ### Windows ```powershell # Using Chocolatey choco install hugo-extended # Using Scoop scoop install hugo-extended # Using Winget winget install Hugo.Hugo.Extended ``` ### macOS ```bash # Using Homebrew brew install hugo ``` ### Linux ```bash # Debian/Ubuntu (snap) snap install hugo --channel=extended # Using package manager (may not be latest) sudo apt-get install hugo # Or download from https://gohugo.io/installation/ ``` ## Quick Start ### Create New Site ```bash # Create site
Malicious tool definition detected
Tool: references/jekyll.md Description: # Jekyll Reference Jekyll is a static site generator that transforms Markdown content into complete websites.
Malicious tool definition detected
.filter(file => file.endsWith('.md')) .forEach(file => { const markdown = readFileSync(join(inputDir, file), 'utf-8'); const html = marked.parse(markdown); const outputFile = basename(file, '.md') + '.html'; writeFileSync(join(outputDir, outputFile), html); console.log(`Converted: ${file} → ${outputFile}`); }); ``` Run with: `node convert-all.js` ### Workflow 3: Conversion with Custom Options ```javascript import { marked } from 'marked'; // Configure options marked.setOptions({ gfm: true,
Malicious tool definition detected
Tool: references/writing-mathematical-expressions-to-html.md Description: # Writing Mathematical Expressions to HTML ## Writing Inline Expressions ### Markdown ```markdown This sentence uses `$` delimiters to show math inline: $\sqrt{3x-1}+(1+x)^2$ ``` ### Parsed HTML ```html <p>This sentence uses <code>$</code> delimiters to show math inline: <math-renderer><math xmlns="http://www.w3.org/1998/Math/MathML"> <msqrt> <mn>3</mn> <mi>x</mi> <mo>−</mo> <mn>1</mn> </msqrt> <mo>+</mo> <mo>(</mo> <mn>1<
Malicious tool definition detected
For more information, see [the MathJax documentation](http://docs.mathjax.org/en/latest/input/tex/index.html#tex-and-latex-support) and [the MathJax Accessibility Extensions Documentation](https://mathjax.github.io/MathJax-a11y/docs/#reader-guide). Mathematical expressions rendering is available in GitHub Issues, GitHub Discussions, pull requests, wikis, and Markdown files.
Tool passed security scan
Tool passed security scan
Passed Files (3)Click to expand
Tool passed security scan
Tool passed security scan
Tool passed security scan