bharley / mw-markdown

MediaWiki Markdown extension
MIT License
51 stars 20 forks source link

How does internal link syntax work for this? Does it play well with the visual editor? #5

Open jcklpe opened 6 years ago

jcklpe commented 6 years ago

Normal wiki text internal links are like this

[[name of page]]

And they either create a new page or link automatically to the page, while markdown links look like this:

[text in the link](url goes here)

If this plugin allows the parser to use markdown, then how does it handle internal links? Do you have to write out the url for the page etc?

karlwilbur commented 5 years ago

You just use the regular syntax:

This is an internal link: [[Some Page Name]]

So your template page source would look like this:

{{MARKDOWN}}

# Using Markdown
This is [Markdown](https://daringfireball.net/projects/markdown/) formatted page copy.

## Internal Wiki Links
This is an internal link: [[Some Page Name]]
karlwilbur commented 5 years ago

I think that this can be closed, but perhaps an update to the documentation is in order.

shreyasminocha commented 5 years ago

[Page](Page) works.

jcklpe commented 5 years ago

Awesome, thanks for the info!