Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Wikilinks suppor #39

Open
Feel-ix-343 opened this issue Apr 27, 2023 · 3 comments
Open

[Feature] Wikilinks suppor #39

Feel-ix-343 opened this issue Apr 27, 2023 · 3 comments

Comments

@Feel-ix-343
Copy link

I use obsidian, and like my images like ![[this.png]]

@Feel-ix-343
Copy link
Author

I would suggest using treesitter for parsing, not regex

@Feel-ix-343
Copy link
Author

Maybe over here?

local inline_link = line:match('!%[.-%]%(.-%)')

@boltlessengineer
Copy link

tree-sitter parser for markdown doesn't support obsidian style image syntax yet. So this could be solved after markdown parser gets obsidian style image support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants