Frontmatter
| id | 8385 |
| title | Add support for 'text' language in Markdown code blocks |
| state | Closed |
| labels | documentationenhancementai |
| assignees | tobiu |
| createdAt | Jan 7, 2026, 3:26 PM |
| updatedAt | Jan 7, 2026, 3:36 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8385 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 7, 2026, 3:36 PM |
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.