mirror of
https://github.com/foambubble/foam.git
synced 2026-04-24 03:01:01 -04:00
1.5 KiB
1.5 KiB
Referencing notes by title
- Currently we reference notes with
[Description](desription.md)syntax.- Pros
- Supported by all static site generators
- Supported by Markdown All in One
- Cons
- Unergonomic to write
- Knowing file name should not be important
- Makes [unlinked-references] harder
- Makes [renaming-files] harder
- Pros
- Possible syntaxes
[Title of page]- Pro: Already supported by Markdown and GH Pages publishing
- Con: Possibly syntactically ambiguous
[[Title of page]]- Pros: Roam format, syntactically more specific
- Cons: Not valid Markdown?
- Trialling VS Code Markdown Notes
- Read also: https://kortina.nyc/essays/suping-up-vs-code-as-a-markdown-notebook/
- This works, also supports backlinks
- Breaks GitHub page generation
- `title_of_page.md
- Keep current syntax, but automate linking, e.g. a snippet/shortcut to:
- Insert
[]()(opens file autocompletion) - Once file is chosen in
(), populate the description in[]automatically from page tite - Pros: Compatible with Markdown All in One
- Cons: Not as sleek as other options
- Insert
- Can MDX help us here?