Skip to content

feature: wiki style media links for obsidian.nvim #410

@neo451

Description

@neo451

Is your feature request related to a problem? Please describe.

Before:

Image

After:

Image

Describe the solution you'd like

Image Links

Should be what ![hi]() will render into

Image

Obsidian app supports this syntax, in the past we have been only using markdown syntax for obsidian.nvim's image pasting capability, but in order to be more consistent, I want to resolve this issue: epwalsh/obsidian.nvim#582, but I do need renderers to work with us here and resolve this rendering issue.

Media Links

obsidian app supports these formats for attachments, and obsidian.nvim is intending to support them all: obsidian-nvim/obsidian.nvim#77

So it would be nicer if the ![[name.ext]] can get conceal based on the ext, i.e. videos have a tv icon and audios have a headphone icon etc.

Describe alternatives you've considered

I can also work with is you can point me to some API to register these capability ourselves :)

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions