Code Highlight Html MCP tool
findutils:code_highlight_html Returns syntax-highlighted HTML for a code snippet: HTML-escaped text wrapped in <span style="color: ..."> elements using one of six colour themes (dracula, monokai, github, nord, one-dark, solarized). This is the pure highlighting step of the Code Screenshot Generator page; it returns markup plus the theme background and foreground colours, not an image.
Arguments
application/json-
code
string required
The source code to highlight.
-
language
string optional
Language used for keyword and comment rules. Default: "javascript". One of
javascript · typescript · python · html · css · json · markdown · bash · sql · php · java · go · rust · plaintext. Default"javascript". -
theme
string optional
Colour theme. Default: "dracula". One of
dracula · monokai · github · nord · one-dark · solarized. Default"dracula".
Example arguments
Verified{
"code": "const x = greet(\"hi\", 42);",
"language": "javascript",
"theme": "dracula"
} More Text tools
- Bookmarks Diff Compare two Netscape bookmarks.html exports (before and after) and list the links that were added, removed, or changed.
- Case Convert Convert a string between camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE, Title Case, Sentence case, lower, UPPER.
- Citation Generator Generate a reference-list citation in APA 7, MLA 9, Chicago, or Harvard style for a book, website, journal, or article.
- Code Diff Checker Returns a line-by-line diff of two code snippets: each line marked added, removed or unchanged with its original and modified line numbers…
- Dedupe Bookmarks Remove duplicate links from a Netscape bookmarks.html export (Chrome, Firefox, Edge, Safari) and return a clean bookmarks.html plus a CSV…
- Html Entity Finder Search the HTML entity catalog and return matching entities with their character, named entity, decimal code, hex code, and category.