The NeuralLink.md guide contains an ASCII tree diagram that lacks syntax highlighting and consistent styling because it is in a plain code block.
To resolve this, we should add support for a text or plaintext language in our Markdown processing pipeline.
Tasks:
- Update
buildScripts/buildHighlightJs.mjs: Add plaintext to the languages array.
- Update
src/component/Markdown.mjs: Update regexReadonly to include text (and map it to plaintext for highlight.js if needed, though highlightAuto might handle it).
- Update
learn/guides/mcp/NeuralLink.md: Change the ASCII tree block to use ````text readonly`.
This will ensure the block is rendered with the same pre.hljs styling as other code blocks.
The
NeuralLink.mdguide contains an ASCII tree diagram that lacks syntax highlighting and consistent styling because it is in a plain code block.To resolve this, we should add support for a
textorplaintextlanguage in our Markdown processing pipeline.Tasks:
buildScripts/buildHighlightJs.mjs: Addplaintextto thelanguagesarray.src/component/Markdown.mjs: UpdateregexReadonlyto includetext(and map it toplaintextfor highlight.js if needed, thoughhighlightAutomight handle it).learn/guides/mcp/NeuralLink.md: Change the ASCII tree block to use ````text readonly`.This will ensure the block is rendered with the same
pre.hljsstyling as other code blocks.