Dendron Markdown
Summary
Markdown toolchain for Dendron
Limitations
- we use "unified": "^9.1.0" (this is not the latest version of unified)
Lookup
Details
- See walthrough of the code
- NOTE: we are using
unified 9.X
. this is incomaptible withunified 10.X
plugins
sequenceDiagram
participant processor1
participant processor2
participant processor3
Unified
-
unified
- remark: parse/compile markdown
- rehype: parse/compile html
-
processor
- parser(text): AST
- compiler(ast): text
- transformer(ast): AST
- data(key, value)
-
methods
- parse -> parse
- process()
- parse -> transform -> compile
- processSync()
- toString -> compile
Dendron
- dest:
- DENDRON_MD: identiy transformation
- REGULAR_MD: regular markdown
- PREVIEW_ENHANCED: hack for preview
- HTML: for publishing, make transformations in HTML
Next
Children
Backlinks