jekyll-wikilinks icon indicating copy to clipboard operation
jekyll-wikilinks copied to clipboard

Support embedding by prepending “!”

Open xplosionmind opened this issue 4 years ago • 7 comments

Suppose I am linking to a page with the following syntax: ![[file-to-embed]]. This should create a scrollable div of height no greater than the viewport which contains all of the embedded file or note.

Such implementation should be valid for:

  • [x] other pages written in Markdown
  • [x] images
  • [ ] PDFs

xplosionmind avatar May 08 '21 14:05 xplosionmind

I would go all the way and try to be compatible with Obsidian.

RoyiAvital avatar May 17 '21 21:05 RoyiAvital

I would go all the way and try to be compatible with Obsidian.

What do you mean?

xplosionmind avatar May 18 '21 06:05 xplosionmind

Implement support for all these features (Its MarkDown syntax).

RoyiAvital avatar May 18 '21 09:05 RoyiAvital

I am definitely keeping an eye on them. I also want to be compatible with as many note-taking apps that support [[wikilinks]] as possible. If there are more standard specs I would like to adhere to them...But they are sparse.

If there are conflicts between app implementation (==highlight== syntax for example is ^^highlight^^ in Roam), I might add config flags...But we'll see what time allows for.

manunamz avatar May 18 '21 13:05 manunamz

The most important feature is ![[]] for in place embedding. I think the nice thing about it is that other parser just ignore it.

RoyiAvital avatar May 18 '21 14:05 RoyiAvital

Updated in v0.0.4.

✅ File-level wikilink embeds. ✅ Wikilink image embeds.

manunamz avatar Jun 25 '21 17:06 manunamz

PS If someone could let me know the status of PDF embeds that would be great. (I haven't tested it either way)

manunamz avatar Jun 25 '21 18:06 manunamz