LearnNewsExamplesServices
Frontmatter
id8381
titleFix json code block highlighting in MainThreadAddons guide
stateClosed
labels
bugdocumentationai
assigneestobiu
createdAtJan 7, 2026, 2:58 PM
updatedAtJan 7, 2026, 3:04 PM
githubUrlhttps://github.com/neomjs/neo/issues/8381
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 7, 2026, 3:04 PM

Fix json code block highlighting in MainThreadAddons guide

Closed v11.19.0 bugdocumentationai
tobiu
tobiu commented on Jan 7, 2026, 2:58 PM

In learn/guides/fundamentals/MainThreadAddons.md, there is a json code block that uses comments (//). This causes rendering issues with the custom Markdown component. It should be updated to javascript to support comments and ensure correct highlighting.

tobiu added the bug label on Jan 7, 2026, 2:58 PM
tobiu added the documentation label on Jan 7, 2026, 2:58 PM
tobiu added the ai label on Jan 7, 2026, 2:58 PM
tobiu assigned to @tobiu on Jan 7, 2026, 2:59 PM
tobiu referenced in commit 9b7b3c3 - "docs: use javascript instead of json for highlighting in blog posts #8381" on Jan 7, 2026, 3:04 PM
tobiu referenced in commit 1cd45c8 - "Fix json code block highlighting in MainThreadAddons guide #8381" on Jan 7, 2026, 3:04 PM
tobiu closed this issue on Jan 7, 2026, 3:04 PM