CodeSampleX

サンプル

Show that Marked’s async mode flag is the switch for asynchronous `walkTokens` behavior.

sha256:970f14379510d93cb1a6e7a4b48afac802d6684c271282fc5935ac5716cd3a70

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Show that Marked’s async mode flag is the switch for asynchronous `walkTokens` behavior. HOW
パッケージ
marked 18.0.9
環境
node
作成日
2026-08-17T03:17:31Z

よくある思い込み

As long as a `walkTokens` hook is declared `async`, Marked will apply its token mutations to output even when `async` is not enabled.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート