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

Improve and make more usable the idea of having inter-page links with [[page]] #6

Open
docelic opened this issue Aug 4, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@docelic
Copy link
Owner

docelic commented Aug 4, 2018

The wiki already supports internal links via [[page]].

This model should be made more prominent and useful within the whole user interface.

(E.g. below the ToC there could be 3 lists -- one as a collection of links to internal pages, one as a collection of external links, and one as a collection of referenced files from the internal media library)

@docelic
Copy link
Owner Author

docelic commented Aug 4, 2018

Since we use MDE's internal previewer which (I believe) does not recognize [[page]] links, we should override its previewRender option to call our custom renderer.

The custom renderer would call the default one, and then just additionally handle the [[page]] links.

@docelic docelic added the enhancement New feature or request label Aug 8, 2018
@docelic
Copy link
Owner Author

docelic commented Aug 21, 2018

In addition to converting internal links to HTML links, the custom renderer should also support stuff from here which isn't yet supported (and/or SimpleMDE/InscrybMDE should be patched to support it):

https://guides.github.com/features/mastering-markdown/

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

1 participant