Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/documentaly/publish/deps.ts>rustyMarkdown.Token

(Beta) Maintain document and build tool.
Go to Latest
type alias rustyMarkdown.Token
Re-export
import { type rustyMarkdown } from "https://deno.land/x/documentaly@0.3.7/publish/deps.ts";
const { Token } = rustyMarkdown;

Markdown tokens that are generated during traversal of the document. check https://docs.rs/pulldown-cmark/0.8.0/pulldown_cmark/enum.Event.html for more detailed information.

definition:
| TokenCommon<"start" | "end"> & Tag
| TokenCommon<"text" | "code" | "html"> & { content: string; }
| TokenCommon<"footnoteReference"> & { label: string; }
| TokenCommon<"softBreak" | "hardBreak" | "rule">
| TokenCommon<"taskListMarker"> & { checked: boolean; }