longform icon indicating copy to clipboard operation
longform copied to clipboard

issue in compiling an embedded callout note

Open olivered-alt opened this issue 2 years ago • 2 comments

Hi, The [[ ]]] are missing when I compile an embedded callout note such as

[!quote] ![[^^ quotation]] Instead I get !^^ quotation without [[ ]] Thanks!

olivered-alt avatar Aug 19 '22 17:08 olivered-alt

@olivered-alt do you have the Remove Links compile step in your workflow with its "Remove Wikilinks" option turned on? If so, it is currently removing embeds like this. I think I'm going to refine that regex and add an additional option to remove/not remove embeds. Thanks for flagging.

kevboh avatar Oct 13 '22 14:10 kevboh

This turns out to be more complicated than I anticipated, as Safari (and thus the iOS app) doesn't support lookbehind regexes, which makes matching this a bit harder. What I really want to do here is both support embed syntax in this step and add a new step that fully transcludes embeds, i.e. copies their contents into the compiled note.

kevboh avatar Oct 14 '22 12:10 kevboh

Hi! If the "remove links" button is turned off, the manuscript view in Obsidian shows the text of the "embed link" correctly. Unfortunately the related .md file in the finder shows the link ![[REF^XXX]]. For the time being I make a pdf export of the manuscript file in obsidian and then convert it into word. Thanks for your follow-up!

olivered-alt avatar Oct 30 '22 11:10 olivered-alt

@kevboh I think this one should have been closed with #194

b-camphart avatar Oct 23 '23 17:10 b-camphart