codesamplex

Sample

Handle modern marked custom renderer methods receiving a single token object instead of legacy positional primitive arguments

sha256:4026c7f4aa5bbe2dc885c538a92bdebf44cab658dca80b98f525a9b5c121ea76

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Handle modern marked custom renderer methods receiving a single token object instead of legacy positional primitive arguments HOW
Packages
marked 18.0.9
Environment
node
Created
2026-08-16T18:45:29Z

Commonly assumed

Custom renderer methods in marked receive positional primitive arguments like heading(text, level) and link(href, title, text) with child tokens pre-rendered into HTML strings.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts