Note Refs

refsRoot
  • packages/pods-core/src/builtin/NextjsExportPod.ts
plant {
    _renderRef

}

_renderRef(note)(

    MDUtilsV5.procRemarkFull note
    out = proc.stringify(node);
    proc2 = MDUtilsV5.procRehypeFull(
        insideNoteRef: true
    )
    await proc2.process(out);
)
_renderNote {
    proc = procRehypeFull(
        { flavor: ProcFlavor.PUBLISHING }
    )
}
  • packages/unified/src/remark/noteRefsV2.ts
genRefAsIFrame {
    genRefAsIFrame
    // writes ref as file
    serializeRefId
}

Children
  1. Inside Note Ref
  2. Old