![]() # PopClip - Obsidian extension, markdown variantĬapture html: true # this is needed when we want markdown textĬonst vaultName = encodeURIComponent('Test Vault') I’ve also modified it to use the markdown backing the selection rather than just the plain text. It isn’t possible currently with the “URL” extension type but you could do with with a little bit of JavaScript. I’m really liking how with the new snippets, the source is front and centre, which invites people to see how it works and to think of customizing it. This is very nice, thanks for sharing! I’ve had a few emails recenly asking for an Obsidian extension so maybe I can point them to this. Is it possible to grab both this and the selected text in the extension snippet? So I would paste plus Question for – I would like to append to the text the markdown-formated URL of the source webpage. If you check the Advanced Obsidian URI documentation there is a very robust set of options for configuring the URL. This version of the snippet will append the selected text to the “daily note” within a heading section of that note named Clippings. Url: obsidian://advanced-uri?vault=&daily=true&heading=Clippings&data=%0A***&mode=append (Note, the %0A string means add a new line before pasting.) This example puts the text in the “daily note” (configured in Obsidian settings), in a header section named “Clippings”.(A macOS folder that you have configured as a vault in Obsidian.) The vault name must be URL-encoded. You must know the name of the destination “vault” in Obsidian. ![]() The Advanced Obsidian URI community plug-in for Obsidian must be installed. ![]() ![]() This extension snippet will copy and insert the current selection in a document or web page to Obsidian. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |