Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add support for markdown wikilinks (aka piped links) #7319

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
Mexator wants to merge 1 commit into requarks:main
base: main
Choose a base branch
Loading
from Mexator:main

Conversation

Copy link

@Mexator Mexator commented Aug 22, 2024
edited
Loading

This PR adds support for Obsidian-style links.

Syntax is [[Link|Display text]]. The rendering to HTML is done with markdown-it-wikilinks

editor screenshot
rendered screenshot

Nick2253 reacted with thumbs up emoji BPowell76 reacted with thumbs down emoji
Copy link

imysl0 commented Aug 24, 2024

Use this to prevent generating unnecessary HTML suffixes for MD files.

 mkdown.use(mdWikilinks({
 uriSuffix: ''
 }))

Copy link
Author

Mexator commented Aug 24, 2024

Use this to prevent generating unnecessary HTML suffixes for MD files.

 mkdown.use(mdWikilinks({
 uriSuffix: ''
 }))

thanks for the suggestion, done

Copy link

imysl0 commented Aug 27, 2024

I tried it, and it works great. I've integrated it into my own instance. Thank you so much!

Copy link

imysl0 commented Nov 24, 2024

Hi @Mexator :
Are you interested in adding support for markdown-it-container markdown-it-container to wikjs?
Although it's a bit abrupt, haha!

Copy link
Author

Mexator commented Jan 2, 2025
edited
Loading

Hi @Mexator : Are you interested in adding support for markdown-it-container markdown-it-container to wikjs? Although it's a bit abrupt, haha!

No, sorry, I moved on to another wiki engine since I opened this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@NGPixel NGPixel Awaiting requested review from NGPixel

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /