Replies: 1 comment 2 replies
-
When creating a note from a wikilink, the template used is so, if you have a
and a placeholder link of cmd+clicking on it will create the file
I hope this is helpful |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
First off, I'm coming over from Spacemacs (emacs) + org-mode + org-roam and what you've done is great! VSCode really feels like the spiritual successor to Emacs.
I'm writing a template and would want to use the name of the wiki link that is used by default and can't figure out what the name is. Tried
FOAM_SELECTED_TEXT
,FOAM_TITLE
andFOAM_SLUG
and they either ask for input or it's not it. The VSCode snippets don't get converted at all.Basically, when you type
[[document]]
to refer to a file that's not yet created and Ctrl+click (command+click) on the link to create that file, it creates a file calleddocument.md
and inserts# document
as the title. I looked through the source code and can't figure out how this is done.I'm using Pandoc Citer to insert links to my articles and would want to also have a markdown file per cited article to include the link to the original article, my notes, and so on. This will also allow me (via backlinks), to know which article I've used in which text I've written.
Example:
Citation key is
@OpenAI_LearningDexterousInHand_2019
, so my wikilink would be[[@OpenAI_LearningDexterousInHand_2019]]
and when I create a note from template, I'd want the created file to be called@OpenAI_LearningDexterousInHand_2019.md
, be inserted in a subdirectory and the file contains:At some point I'd have to figure out how to extract the author list, tags, title from the bibtex file or from Zotero and put that in the markdown TOML front-matter section, but that's for another day.
Thanks for your help and all the good work!
Vasken
Beta Was this translation helpful? Give feedback.
All reactions