-
Notifications
You must be signed in to change notification settings - Fork 48
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
Any Clues on How to render [[]] in MDX / Remark #309
Comments
this is close https://github.com/landakram/remark-wiki-link |
is there any reason why you went with |
Wikipedia docs: https://en.wikipedia.org/wiki/Help:Link |
Not familiar with remark. Memo uses markdown-it, see this file to learn how it's implemented.
For compatibility with Obsidian.md and that users could transition more easily. To use links within table you need to escape pipe symbol, see this issue for reference #164. |
Worked with https://github.com/landakram/remark-wiki-link /**
* remark plugin to parse [[Wiki Link]].
* @see https://github.com/landakram/remark-wiki-link
*/
export const remarkWikiLinkPlugin = [
wikiLinkPlugin,
{
aliasDivider: '|',
},
]; I just had to change the alias divider, some adjustment to generated path and it's all good! |
another trick that might be useful to convert the a tag into Gatsby Link one must use https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-catch-links |
Hi there,
I'm so glad to have found your project, thanks for creating it.
Would you have any clues on how to tell mdx to resolve the links created with Memo [[]] so that we can render actual pages into a docs website ?
The text was updated successfully, but these errors were encountered: