Dendron Pub

Summary

Responsible for multiple transformations of Dendron's Markdown AST. Examples:

Lifecycle

insertTitle

This turns the title property in the frontmatter into a h1 header

_.findIndex(root.children, ent.type != yaml)
root.children.splice(
    HEADING, note.title
)
transformer {
    visit(node) {
        if(node.type === WIKI_LINK) { 
            ...
            isPublished := SiteUtils.isPublished
            if !isPublished value = _.toString(StatusCodes.FORBIDDEN)

        }
    }
}

Tests


Backlinks