Skip to content

Support for Obsidian links with display text #195

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

Open
zicotin opened this issue Jan 7, 2025 · 3 comments
Open

Support for Obsidian links with display text #195

zicotin opened this issue Jan 7, 2025 · 3 comments
Labels
enhancement New feature or request HIGH

Comments

@zicotin
Copy link

zicotin commented Jan 7, 2025

Marmite currently supports Obsidian-style links in the form [[link]]. I would like to see support for Obsidian-style links with display text as well: [[link|display text]].

As this is fundamentally incompatible with the wikilink [[name|url]] format, I would prefer to disable the wikilink format entirely.

@rochacbruno
Copy link
Owner

So it is basically the inverted wikilink?

@zicotin
Copy link
Author

zicotin commented Jan 7, 2025

Yes, exactly the same, just with the parameters in opposite order.

@rochacbruno
Copy link
Owner

we can make this line configurable

options.extension.wikilinks_title_before_pipe = true;

I want to make almost all the options of Comrak configurable to user can flip those in the config file.

@rochacbruno rochacbruno added enhancement New feature or request HIGH labels Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request HIGH
Projects
None yet
Development

No branches or pull requests

2 participants