Wikilinks

Transform

DendronASTDest.MD_DENDRON { return }

...

alias = data.alias ?? title ?? value
node.data = {
    ...
} as RehypeLink

Compile

compile {

    data := node
    alias = data.alias

    if !data.alias && enableNoteTitleForLink
        title := 
        alias = title

    if dest === DendronASTDest.MD_DENDRON
        return 
        
    // publishing
    if (useId && dest === DendronASTDest.HTML) {...}

    if DendronASTDest.MD_REGULAR { return regular link }

    if DendronASTDest.HTML { ... }

}

Backlinks