Skip to main content
Module

x/dendron_exports/deps/micromark.ts>CompileData

Export your Dendron vault into SSG compatible markdown
Go to Latest
interface CompileData
import { type CompileData } from "https://deno.land/x/dendron_exports@v0.1.2/deps/micromark.ts";

State tracked to compile events as HTML.

Properties

optional
lastWasTag: boolean | undefined

Whether the last emitted value was a tag.

optional
expectFirstItem: boolean | undefined

Whether the first list item is expected, used by lists.

optional
slurpOneLineEnding: boolean | undefined

Whether to slurp the next line ending (resets itself on the next line ending).

optional
slurpAllLineEndings: boolean | undefined

Whether to slurp all future line endings (has to be unset manually).

optional
fencedCodeInside: boolean | undefined

Whether we’re in fenced code, used by code (fenced).

optional
fencesCount: number | undefined

Number of fences that were seen, used by code (fenced).

optional
flowCodeSeenData: boolean | undefined

Whether we’ve seen code data, used by code (fenced, indented).

optional
ignoreEncode: boolean | undefined

Ignore encoding unsafe characters, used for example for URLs which are first percent encoded, or by HTML when supporting it.

optional
headingRank: number | undefined

Current heading rank, used by heading (atx, setext).

optional
inCodeText: boolean | undefined

Whether we’re in code data, used by code (text).

optional
characterReferenceType: string | undefined

Current character reference kind.

tightStack: Array<boolean>

Stack of containers, whether they’re tight or not.

definitions: Record<string, Definition>

Collected definitions.