Skip to content

Using [[wikilinks]]

Thomasorus edited this page May 23, 2021 · 3 revisions

If you want to link between pages of your website, you can use the wiki link syntax instead of classic markdown links.

Syntax of wiki links

Wiki links use double square brackets with content inside: [[ ]]. In Chisai, you can use them in two ways:

  • Use [[link to page]] to link to a page in the current section you are writing. For example, if you are in the art folder and use [[01-01-2021]], the link created will be /art/01-01-2021.html. If you decided to set the flat_build option to True, there's no section and this syntax will just create a normal link, ec: 01-01-2021.html.
  • Use [[ Text of link | Link to page ]] to link to any page. For example, if you are in the art folder but want to link to a page in the blog folder, use [[link to blog | blog/01-01-2021]], the link created will be /blog/01-01-2021.html. Once again, if you decided to set the flat_build option to True, there's no section and you can omit the folder: [[link to blog | 01-01-2021]]

Have fun with links!