Hi, so I’m using the external link syntax for simple annotations in live preview. As you can see in the screenshot, they work as intended in Live Preview, that I can alt+click on the links to edit and view comments inside the curly brackets ().
However in the Preview Mode, only links with a valid URL are rendered as external links (as in bullet point 5).
For strings without spaces (as in 2, 4), Preview Mode treats them as unresolved links and displays the URL instead of the text we want to display.
For strings with spaces in between (as in 1,3), Preview doesn’t recognize them as links.
Since embeds are in Preview Mode, this becomes a problem when I reference these blocks from other notes.
So my question is, is there any way that I can make Obsidian recognize all of these formats as real links, and just display the text in square brackets[]? Any CSS snippets that could make this possible?
Sorry if I didn’t make it clear, but I’m trying to use []() as a way to add comments to specific words. For example, if I wish to annotate Obsidian in the sentence below:
Obsidian is the private and flexible writing app that adapts to the way you think.
I would do:
[Obsidian](a hard, dark, glasslike volcanic rock) is the private and flexible writing app that adapts to the way you think.
and hopefully (a hard, dark, glasslike volcanic rock) would collapse in Live Preview & Preview and only show up when you click on the link.
Thanks for providing so many details! I play with external links because I want the comments to be inline and foldable, and that seems to be the only syntax that works this way. While HTML tags seem a little bit chuncky.
I just discovered that I could use tooltips as comments, and you only need a colon : to make obsidian recognize the syntax as a link. So in the end a note will look like this, when hovered in Preview it gives you a small frame of tooltip:
[Obsidian](: "a hard, dark, glasslike volcanic rock") is the private and flexible writing app that adapts to the way you think.
And thank you for reminding me of the footnotes, I tried it before but decided it was a pain to sort through the index, but it seems that there are quite a few plugins to solve this problem.
Thanks! I looked into the plugins for footnotes and that helped a lot. The font is Nunito-Bold and you can download it directly from google fonts: Nunito - Google Fonts