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

Support both [[PageName | Title]] and [[Title | PageName]] wiki links #155

Closed
quinncomendant opened this issue Oct 25, 2024 · 2 comments
Closed
Labels
enhancement New feature or request

Comments

@quinncomendant
Copy link

Most wiki platforms use PageName before Title (MediaWiki, DokuWiki, PmWiki, TikiWiki, MoinMoin), as well as many PKM apps like Obsidian, iA Writer, et al.

Although there are some that use Title before PageName, it less common.

Otter should support both, or make the order of wiki link arguments configurable.

I would like to use Otter, but I currently use other tools which require wiki links in [[PageName | Title]] format, so Otter is not compatible, nor would I want to update hundreds of existing documents.

Thanks! Otter is a beautiful project. Keep it up.

@redimp redimp added the enhancement New feature or request label Oct 25, 2024
@redimp
Copy link
Owner

redimp commented Oct 25, 2024

Hey @quinncomendant yeah the different styles of Wikilinks are a painpoint. I could not decide which one to chose and picked the one that was in the mistune Examples.

Will add an option to the preferences, so that admins can configure if the wikilink should be parsed as [[PageName | Title]] or [[Title | PageName]].

redimp added a commit that referenced this issue Nov 17, 2024
In compatibility mode [[WikiLinks]] are parsed as [[PageName | Title]]
This is for imported content or matching the style users got used to.
This was brough up in #155.
@redimp
Copy link
Owner

redimp commented Nov 17, 2024

Released in v2.8.0.

@redimp redimp closed this as completed Nov 17, 2024
eifelmicha pushed a commit to Schmitzis/otterwiki that referenced this issue Dec 14, 2024
In compatibility mode [[WikiLinks]] are parsed as [[PageName | Title]]
This is for imported content or matching the style users got used to.
This was brough up in redimp#155.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants