You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(discussion started in #448, where wikilink support was added)
✅ Markdown links can embed images:

❌ But wikilinks do not yet support this:
![[fido.jpg|image:width:20%]]
Prior Art
A very related project is the Advanced Slides plugin for Obsidian (750k downloads), which handles image embedding and resizing like this:
Insert image with obsidian markdown syntax
![[Image.jpg]]---
Scale image to a width of 100 px
![[Image.jpg|100]]
I propose if possible, compatibility with this syntax would be a great option (if not default).
Thoughts
While comrak does have a wikilink extension, it doesn't appear to support embedding those links. it is notable that there are no examples of ![[]] links in their test suite.
Like I mentioned in the other issue, I think this should be comrak's responsibility. It doesn't make sense that presenterm has to parse an already parsed markdown even further, plus comrak already should have the tools/primitives to parse this. I would imagine doing this work in comrak would yield the same Image node type they emit for the normal ![]() image tags so it would work here without any changes.
(discussion started in #448, where wikilink support was added)
✅ Markdown links can embed images:
❌ But wikilinks do not yet support this:
Prior Art
A very related project is the Advanced Slides plugin for Obsidian (750k downloads), which handles image embedding and resizing like this:
I propose if possible, compatibility with this syntax would be a great option (if not default).
Thoughts
While
comrak
does have a wikilink extension, it doesn't appear to support embedding those links. it is notable that there are no examples of![[]]
links in their test suite.Notes
The text was updated successfully, but these errors were encountered: