Skip to content

Hide wiki example sync markers in rendered docs - #116

Merged
hdcodedev merged 2 commits into
mainfrom
fix/hide-wiki-example-markers
Nov 1, 2026
Merged

hdcodedev merged 2 commits into
mainfrom
fix/hide-wiki-example-markers

Conversation

@hdcodedev

Copy link
Copy Markdown
Member

Summary

  • Hide synchronization marker comments in rendered wiki pages while preserving Markdown and Kotlin code blocks.
  • Apply the marker filter in the shared React Markdown pipeline so all documentation versions use it.

Testing

  • cd docs-app && node --experimental-strip-types --test lib/remark-wiki-example-markers.test.mjs — passed (4 tests).
  • cd docs-app && npx tsc --noEmit --pretty false — passed.
  • git diff --check — passed.
  • npx eslint components/MarkdownRenderer.tsx lib/remark-wiki-example-markers.ts lib/remark-wiki-example-markers.test.mjs — unable to run: installed typescript-eslint does not support TypeScript 7.0.
  • (human) Verified the implementation.

Review steps

Run the focused test command above. It renders Markdown through ReactMarkdown and checks that markers disappear, Kotlin code and surrounding headings/paragraphs remain, multiple snippets work, fenced marker-like text stays literal, and versioned page content follows the same path.

@vercel

vercel Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
charts.hdcode.dev Ready Ready Preview Nov 1, 2026 11:56am UTC

@hdcodedev
hdcodedev merged commit 34e50e6 into main Nov 1, 2026
3 checks passed
@hdcodedev
hdcodedev deleted the fix/hide-wiki-example-markers branch November 1, 2026 11:57

This branch was successfully deployed

1 active deployment
Preview — 365204bf Deployed Nov 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant