Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:syntax [2026/09/28 10:53] – adminwiki:syntax [2026/09/28 12:56] (current) – spelling cory
Line 494: Line 494:
 ~~INFO:syntaxplugins~~ ~~INFO:syntaxplugins~~
  
 +A couple useful plugin-added formatting options are described here:
 +
 +### Alerts
 +
 +Added by [mikio plugin](https://github.com/nomadjimbob/mikioplugin/wiki/), alerts come in `danger`, `warning`, `primary`, `secondary`, `success`, `info`, `light`, and `dark`.
 +
 +`<alert danger> something to be careful about </alert>`
 +<alert danger> something to be careful about </alert>
 +
 +See the [mikio plugin](https://github.com/nomadjimbob/mikioplugin/wiki/) docs for wayyy more formatting options.
 +
 +### Metadata
 +
 +[This plugin](https://www.dokuwiki.org/plugin:meta) was added to allow pages to set custom titles. Without it, page titles will be the first header found on the page. An example where we use it is https://vanhack.ca/wiki/start where the title would be `Vancouver Hack Space - Vancouver Hack Space`, following the pattern `wikititle - pagetitle`, but we override the page title in the document using the meta plugin to be "Wiki Home"
 +allows you to edit the page metadata in the page contents. Syntax is:
 +
 +```
 +~~META:
 +title = Wiki Home
 +~~
 +```
 +
 +### Redirect
 +
 +We have two redirect plugins installed, one stores a master list of redirects - this was used to help fix broken links when we merged the WordPress and Dokuwiki into a single site. If you have a permanent redirect where you want to delete a page, ask in #vhs-wiki about getting something added to this list.
 +
 +The other redirect uses page contents to redirect to another page: `~~REDIRECT>namespace:page~~`