User Tools

Site Tools


wiki:extensions

Extensions

Extensions are special plugins that enhance the DokuWiki environment. Because these additions are not described in the default manual, this section aims to shed some light on the extra options avialable.


Plugins


Typography

Typography Plugin, enables typesetting capabilities with CSS font properties such as font face, size, weight, and color of text.

Single parameter example:

<typo font-size:large;>Large</typo>, 
<typo fs:x-large>Very large</typo>, 
<fs:xx-large>Huge</fs>, and 
<fs smaller>smaller</fs> size text
Large,
Very large,
Huge, and
smaller size text

See documentation for more examples.


PDF.js

PDF.js Plugin, This plugin uses a pdf.js viewer to embed pdf files on wiki pages.

Syntax:

{{pdfjs [size] > id?zoom|title }}


MathJax

MathJax Plugin, adds MathJax to your wiki pages to let you easily write mathematical formulas that will be typeset and displayed cleanly.

Example:

$a^2 + b^2 = c^2$

$a^2 + b^2 = c^2$

Example:

$e^{\pi i} = -1$

$e^{\pi i} = -1$

Example:

$\int \dfrac{dx}{x^2-a^2} = \dfrac{1}{2a} \log \left( \dfrac{x-a}{x+a} \right) + c$

$\int \dfrac{dx}{x^2-a^2} = \dfrac{1}{2a} \log \left( \dfrac{x-a}{x+a} \right) + c$

Example:

$\sum_{n=1}^{\infty} 2^{-n} = 1$

$\sum_{n=1}^{\infty} 2^{-n} = 1$


Video Share

Video Share Plugin, allows you to embed flash video players from various video sharing sites.

The basic syntax

{{videosite>videoid?parameter1&parameter2|title}}

With video site identifiers given as follows.

Identifier Website Supported parameters
5min 5min
archiveorg Archive.org
bambuser Bambuser autoplay
bliptv Blip.TV
break Break
clipfish Clipfish
dailymotion Daily Motion start
gtrailers GameTrailers
metacafe MetaCafe ap
myspacetv MySpaceTV
odysee Odysee LBRY
rcmovie RCMovie
scivee Scivee.tv
twitchtv Twitch.tv chapter_id, initial_time
slideshare Slideshare startSlide
ustream Ustream.TV
veoh Veoh
viddler Viddler offsetTime
vimeo Vimeo autoplay
youtube YouTube start, end, rel, autoplay

Example: Odysee

Odysee needs more effort, i.e. open “share” window, copy the “videoid” from the embedded link (as is highlighted in the image below), and insert it in the “videoid” location found in the basic syntax.

{{odysee>2022-01-01-19-00-02/8e5b9de5f71b6ba9e06f2980e75078548294d42a}}


Admnote

Admnote Plugin, This plugin adds Material-for-MkDocs Admonition1) notes to Dokuwiki.

There are twelve styles available: 'abstract', 'bug', 'danger', 'example', 'failure', 'information', 'note', 'question', 'quote', 'achievement', 'tip' & 'warning'.

Example (style only):

<adm abstract>Example with the 'abstract'-style.</adm>

Abstract

Example with the 'abstract'-style.

Example (style + title):

<adm warning Watch out!>Example with the 'warning'-style with a different title.</adm>

Watch out!

Example with the 'warning'-style with a different title.


RefNotes

[[https://www.dokuwiki.org/plugin:refnotes|RefNotes Plugin]], adds an extension[(This is a note.)] for build-in DokuWiki footnotes syntax((This is a [[https://www.dokuwiki.org/wiki:syntax#footnotes|footnote]].)).

~~REFNOTES~~

RefNotes Plugin, adds an extension1) for build-in DokuWiki footnotes syntax2).


1) This is a note.
wiki/extensions.txt · Last modified: 2022/03/18 07:40 by 127.0.0.1