Skip to content

Link syntax on the GitHub wiki (Markdown)

AndyGlew edited this page Jan 14, 2020 · 3 revisions

Siblings:

I consider that one of wiki's key features is creating a link to a page that has not yet been created, the page being created when I click on it, the link being colored differently before/after being created?

Q: how do I get this on the GitHub wiki?

Says a page on GitHub wiki help

Adding links You can create links in wikis using the standard markup supported by your page, or using MediaWiki syntax. For example:

If your pages are rendered with Markdown, the link syntax is [Link Text](full-URL-of-wiki-page) --> Link Text.

  • What the heck!: "full-URL-of-wiki-page" ??? Fortunately, they lie. It can be a full URL, but it can also be a peer of the current page. And possibly other relative URLs.
  • Annoyingly, the Markdown links that have not yet been created are not colored differently, so you can't tell that they have not yet been created.

With MediaWiki syntax, the link syntax is [[Link Text|nameofwikipage]] --> Link Text.

Is there a way to just make the link text into the name of page?

  • MediaWiki syntax without the | - [[Link Text]] --> Link Text
  • Markdown syntax - not that I can tell. The following do not seem to work:
    • [Link Text]
    • [Link Text]()
Clone this wiki locally