Reputation: 2121
The following works :
[abc <br> def](test.md)
Because of this issue I need to use MediaWiki hyperlink syntax, however the following does not work.
[[abc <br> def | test]]
Is there a solution ?
Upvotes: 1
Views: 962
Reputation: 927
Hierarchy:
- Home Page
- Test page
Home page:
## Title
[test<br />page](Test-page)
Test page:
## Test page
[Back to home page](Home)
Custom sidebar:
* [Hello<br />page](Home)
* [test<br />page](Test-page)
Everything works smoothly except for the preview but as a link points to a specific page name without the extension (.md) and relative paths (./ or ../), these links will always work, you don't even need to preview them.
Upvotes: 1
Reputation: 927
It seems like the only way to work around your specific case with Markdown Edit mode is to use syntax like this:
[abc <br> def](wiki/test.md)
Pay attention that the link doesn't work in preview mode. After saving the page the link will work correctly.
Upvotes: 0
Reputation: 927
MediaWiki has inverted syntax for links, so this will work:
[[link to page | Link<br>text]]
Upvotes: 0