Skip to content

Conversation

Mexator
Copy link

@Mexator Mexator commented Aug 22, 2024

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

@auto-assign auto-assign bot requested a review from NGPixel August 22, 2024 21:38
@imysl0
Copy link

imysl0 commented Aug 24, 2024

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

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

@Mexator
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

@imysl0
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!

@imysl0
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!

@Mexator
Copy link
Author

Mexator commented Jan 2, 2025

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants