Skip to content
obsidian-markdown-parser
v1.0.0
Search
Ctrl
K
Cancel
GitHub
Select theme
Dark
Light
Auto
Menu
Guides
A markdown parser for Obsidian: the write-up
API overview
Three engines, and what one would take
Development
The Obsidian syntax, defined once
The CommonMark and GFM spec suites
The remark-parse 8 engine
The CachedMetadata projection
The CodeMirror 6 host
The demo plugin
Phase 0: class-span oracle and the gap to plain @lezer/markdown
Phase 1: the editor's class tokens, reproduced
The oracles, and keeping up with Obsidian
The mode judge: where the editing modes and Reading view disagree
The self-check judges: where Obsidian is wrong but consistent
Link parity: what a wikilink cannot express, and the links Obsidian writes wrong
Link cases: where a link leads in the vault shapes the forum reports name
Special note names: what each vault surface does with them
Prior art: @quartz-community/remark-obsidian
Provenance
API reference
editor
highlight
Overview
ClassSpan
copyLineState
EditorClassOptions
highlight
HighlightedLine
highlightLines
HighlightLinesParams
HighlightOptions
isLineStateResumable
LineState
language
Overview
createEditorClassLanguage
CreateEditorClassLanguageOptions
editorClassLanguage
lineClassesProperty
tokenClassesProperty
view
Overview
DocumentRange
editorClassDecorations
editorClasses
entries
lezer
Overview
parse
metadata
metadata
Overview
parseMetadata
types
Overview
BlockCache
CachedMetadata
CacheItem
EmbedCache
FootnoteCache
FootnoteReferenceCache
FrontMatterCache
FrontmatterLinkCache
HeadingCache
LinkCache
ListItemCache
Loc
Pos
ReferenceCache
ReferenceLinkCache
SectionCache
TagCache
remark
html
Overview
renderRemarkHtml
parse
Overview
parseRemark
ParseRemarkOptions
types
Overview
RemarkBlockId
RemarkBlockquote
RemarkBreak
RemarkCallout
RemarkCode
RemarkDefinition
RemarkDelete
RemarkEmbed
RemarkEmphasis
RemarkFootnoteDefinition
RemarkFootnoteReference
RemarkHeading
RemarkHighlight
RemarkHtml
RemarkImage
RemarkImageReference
RemarkInlineCode
RemarkInlineFootnote
RemarkInlineMath
RemarkInternalLink
RemarkInternalLinkBase
RemarkLink
RemarkLinkReference
RemarkList
RemarkListItem
RemarkMath
RemarkNode
RemarkNodeBase
RemarkObsidianComment
RemarkObsidianCommentBlock
RemarkParagraph
RemarkParent
RemarkParentBase
RemarkPoint
RemarkPosition
RemarkReferenceType
RemarkRoot
RemarkStrong
RemarkTable
RemarkTableAlignment
RemarkTableCell
RemarkTableCellPadding
RemarkTableRow
RemarkTag
RemarkText
RemarkThematicBreak
RemarkYaml
syntax
conformance
Overview
CONFORMANCE_CASES
ConformanceCase
OutlineEntry
lezer
lezer
Overview
createObsidianMarkdown
CreateObsidianMarkdownOptions
createObsidianParser
CreateObsidianParserOptions
obsidianMarkdown
obsidianParser
obsidianSyntax
lezer-commonmark
Overview
collectLinkReferenceLabels
commonMarkFixes
commonMarkFixesWithoutHtmlBlock
linkReferenceCheck
parseWithLinkReferences
lezer-html
Overview
renderLezerHtml
RenderLezerHtmlOptions
markdown-it
markdown-it
Overview
createObsidianMarkdownIt
CreateObsidianMarkdownItOptions
getObsidianTokenRange
markdownItObsidianSyntax
MarkdownItObsidianSyntaxOptions
obsidianNodeNameOf
parseMarkdownIt
options
Overview
COMMONMARK_QUIRKS
OBSIDIAN_QUIRK_FLAGS
OBSIDIAN_QUIRKS
OBSIDIAN_SYNTAX_FLAGS
OBSIDIAN_SYNTAX_PRESETS
ObsidianQuirkFlags
ObsidianSyntaxFlags
ObsidianSyntaxOptions
ObsidianSyntaxPreset
resolveObsidianQuirks
ResolveObsidianQuirksOptions
resolveObsidianSyntax
ResolveObsidianSyntaxOptions
spec
Overview
ObsidianNode
ObsidianNodeName
TextRange
unified
mdast
Overview
BlockId
Callout
Embed
Highlight
InlineFootnote
InlineMath
InternalLink
InternalLinkFields
MathBlock
MDAST_NODE_TYPES
mdastObsidianMarkdown
mdastObsidianSyntax
ObsidianComment
ObsidianCommentBlock
parseMdast
ParseMdastOptions
Tag
micromark
Overview
createMicromarkObsidianMarkdown
CreateMicromarkObsidianMarkdownOptions
createMicromarkObsidianSyntax
micromarkObsidianMarkdown
micromarkObsidianSyntax
ObsidianToken
micromark-quirks
Overview
micromarkObsidianTable
micromarkQuirksHtml
GitHub
Select theme
Dark
Light
Auto
RemarkLinkReference.referenceType
RemarkLinkReference
› referenceType
Type:
RemarkReferenceType
The kind of reference.