walnut-markdown-rendering SKILL.md skillA
walnut-markdown-rendering from evanzhang008/open-walnut is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add evanzhang008/open-walnut/walnut-markdown-rendering@git:20261013.45aeb25Pins git:20261013.45aeb25 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- evanzhang008/open-walnut
- Path
.claude/skills/walnut-markdown-rendering/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261013.45aeb25, committed Oct 13, 2026
- First version recorded
- Sep 2, 2026
- Size
- 16,238 bytes
- Repository stars
- 34
- License
- MIT
How Walnut turns model text into rendered output — the two marked instances and the CJK retunes registered on both, why we extend marked through its public API and never patch it, the rich-HTML block chunker's prefix invariant and blank-line content-model rule, DOMPurify policy per surface, and the marked 15 → 18 upgrade path. MUST read before changing anything in web/src/utils/markdown.ts, rich-blocks.ts, or adding a marked extension.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Markdown & rich-HTML rendering
Every visible model reply goes through `web/src/utils/markdown.ts`. Rich (HTML) replies additionally go through `web/src/utils/rich-blocks.ts` before rendering. Both files are incident-dense: each rule below is a shipped bug.
## Hard rules
1. **Never patch, fork, or vendor `marked`.** It has a public extension API (`marked.use({ tokenizer }|{ extensions })`); use it. Verify before believing otherwise: both installed copies (`node_modules/marked` and `web/node_modules/marked`, both 15.0.12) are byte-identical to the published tarball, and `patches/` holds exactly one patch, for an unrelated package that has no public switch for what it does. A patched renderer has to be re-applied on every install and blocks every upgrade.
…Read the whole file at its exact version.
How to install
mdr add evanzhang008/open-walnut/walnut-markdown-rendering@sha256:105cc04c810c380bThe line at the top of this page pins the label git:20261013.45aeb25, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_xhos6zydh2g53ln5)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Sep 2, 2026 and Oct 13, 2026, about one every 8 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261013.45aeb25 latest | 2026-10-13 | 45aeb25 | 16,238 B | A | view · diff |
| git:20260930.39c734b | 2026-09-30 | 39c734b | 16,068 B | A | view · diff |
| git:20260924.1311bd5 | 2026-09-24 | 1311bd5 | 14,067 B | A | view · diff |
| git:20260916.3a4fc11 | 2026-09-16 | 3a4fc11 | 13,309 B | A | view · diff |
| git:20260904.bf0f4ef | 2026-09-04 | bf0f4ef | 10,066 B | A | view · diff |
| git:20260902.8acaa80 | 2026-09-02 | 8acaa80 | 9,240 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (16238 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
evanzhang008/open-walnut · 34 stars · license MIT · pushed 2026-10-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_xhos6zydh2g53ln5 GET https://markdownregistry.com/api/v1/resolve?ref=evanzhang008/open-walnut/walnut-markdown-rendering GET https://markdownregistry.com/api/v1/blob/105cc04c810c380b579e4d29b501fb243a8a6839a5663ae11fc472fb4d0ca0fc
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.