Note Presets
Summary
NOTE_SIMPLE
CreateNoteFactory({ fname: "foo", body: "foo body" });
NOTE_SIMPLE_CHILD
NOTE_SIMPLE_CHILD: CreateNoteFactory({
fname: "foo.ch1",
body: "foo.ch1 body",
}),
NOTE_SIMPLE_OTHER
CreateNoteFactory({ fname: "bar", body: "bar body" })
NOTE_WITH_TARGET
NOTE_WITH_TARGET: CreateNoteFactory({ fname: "alpha", body: "[[beta]]" }),
NOTE_WITH_ANCHOR_LINK
NOTE_WITH_ANCHOR_LINK: CreateNoteFactory({
fname: "beta",
body: `[[alpha#h3]]`,
}),
NOTE_WITH_WIKILINK_SIMPLE
NOTE_WITH_WIKILINK_SIMPLE: CreateNoteFactory({
fname: "simple-wikilink",
body: "[[simple-wikilink.one]]",
}),
NOTE_WITH_NOTE_REF_SIMPLE
NOTE_WITH_NOTE_REF_SIMPLE: CreateNoteFactory({
fname: "simple-note-ref",
body: "![[simple-note-ref.one]]",
}),
NOTE_WITH_NOTE_REF_SIMPLE_TARGET
NOTE_WITH_NOTE_REF_SIMPLE_TARGET: CreateNoteFactory({
fname: "simple-note-ref.one",
body: ["# Header ", "body text"].join("\n"),
}),
NOTE_WITH_FM_TAG
NOTE_WITH_FM_TAG: CreateNoteFactory({
fname: "fm-tag",
props: {
tags: "foo",
},
body: "",
}),
Backlinks