Files
foam/docs/wiki-links.md
Janne Ojanaho 4ebec70d50 link ref definition proposal (#82)
Co-authored-by: Jani Eväkallio <jani.evakallio@gmail.com>
2020-07-14 22:17:23 +01:00

1.7 KiB

Wiki Links

Foam enables you to Link pages together using [[file-name]] annotations (i.e. [[media-wiki]] links).

  • Both [[file-name]] and [[file-name.md]] work
  • Type [[ and start typing a file name for autocompletion.
  • Cmd + Click ( Ctrl + Click on Windows ) on file name to navigate to file (F12 also works while your cursor is on the file name)
  • Cmd + Click ( Ctrl + Click on Windows ) on non-existent file to create that file in the workspace.

If the F12 shortcut feels unnatural you can rebind it at File > Preferences > Keyboard Shortcuts by searching for editor.action.revealDefinition.

Required extensions

Markdown compatibility

The Foam for VSCode extension automatically generates [link-reference-definitions] at the bottom of the file to make wiki-links compatible with Markdown tools and parsers.

Read more