Skip to content

Conversation

@ais
Copy link

@ais ais commented Dec 28, 2020

Partially related to #28

remark-wiki-link already supports aliases using the default : divider. This adds a setting so that it can be changed.

Use case

I use inlined ID-based (or Zettlr-style) links in my notes (e.g.: [[20201231235959|some notes]]). I pair this extension with a Markdown previewer which only supports the MediaWiki syntax (using |).

This will allow me to preview both my notes and graph correctly.

Known issues

Currently, changing this setting requires you to restart VS Code. I'm not sure of an elegant way to solve this, but it also shouldn't need to be changed too often.

@tchayen
Copy link
Owner

tchayen commented Dec 30, 2020

This looks very good! Thanks for contributing. I didn't even know : could work as a separator.

As you have mentioned, it is related to #28 in a way, but as it is a minor change in how we use a dependency and default option will be provided, I think we are good to go with introducing this change now.

@ais
Copy link
Author

ais commented Jan 4, 2021

@tchayen I've fixed the two comments you had. Let me know if there's anything else!

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.

2 participants