Tool tree
Syntax highlighting powered by Tree-sitter and Neovim themes. 7 runtimes, including community-maintained Java and Python packages.
Implementation
gradeNot graded
gradeNot graded
highlight-codeAction
Highlight source code with Lumis and return safe, themed HTML.
View tool JSON
{
"name": "highlight-code",
"kind": "act",
"impl": "imperative",
"description": "Highlight source code with Lumis and return safe, themed HTML.",
"inputSchema": {
"type": "object",
"properties": {
"source": {
"type": "string",
"maxLength": 100000,
"description": "Source code to highlight."
},
"language": {
"type": "string",
"description": "Lumis language identifier, such as rust, elixir, javascript, or html."
},
"theme": {
"type": "string",
"default": "catppuccin_frappe",
"description": "Lumis theme identifier. Defaults to catppuccin_frappe."
}
},
"required": [
"source",
"language"
],
"additionalProperties": false
},
"page": "/"
}