====== 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 ==== [[https://www.dokuwiki.org/plugin:typography|Typography Plugin]], enables typesetting capabilities with CSS font properties such as font face, size, weight, and color of text. === Single parameter example: === Large, Very large, Huge, and smaller size text > Large, > Very large, > Huge, and > smaller size text See documentation for more examples. \\ ==== PDF.js ==== [[https://www.dokuwiki.org/plugin:pdfjs|PDF.js Plugin]], This plugin uses a pdf.js viewer to embed pdf files on wiki pages. Syntax: {{pdfjs [size] > id?zoom|title }} \\ ==== MathJax ==== [[https://www.dokuwiki.org/plugin: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 ==== [[https://www.dokuwiki.org/plugin:vshare|Video Share Plugin]], allows you to embed flash video players from various video sharing sites. === The basic syntax === {{videosite>videoid?parameter1¶meter2|title}} With video site identifiers given as follows. ^ Identifier ^ Website ^ Supported parameters ^ | 5min | [[http://www.5min.com/|5min]] | | | archiveorg | [[https://archive.org/|Archive.org]] | | | bambuser | [[http://bambuser.com|Bambuser]] | autoplay | | bliptv | [[http://blip.tv/|Blip.TV]] | | | break | [[http://www.break.com|Break]] | | | clipfish | [[http://www.clipfish.de/|Clipfish]] | | | dailymotion | [[http://www.dailymotion.com/|Daily Motion]] | start | | gtrailers | [[http://www.gametrailers.com|GameTrailers]] | | | metacafe | [[http://www.metacafe.com/|MetaCafe]] | ap | | myspacetv | [[http://vids.myspace.com/|MySpaceTV]] | | | odysee | [[http://odysee.com/|Odysee LBRY]] | | | rcmovie | [[http://www.rcmovie.de|RCMovie]] | | | scivee | [[http://scivee.tv|Scivee.tv]] | | | twitchtv | [[http://www.twitch.tv|Twitch.tv]] | chapter_id, initial_time | | slideshare | [[http://www.slideshare.com|Slideshare]] | startSlide | | ustream | [[http://ustream.tv|Ustream.TV]] | | | veoh | [[http://www.veoh.com/|Veoh]] | | | viddler | [[http://www.viddler.com|Viddler]] | offsetTime | | vimeo | [[http://www.vimeo.com/|Vimeo]] | autoplay | | youtube | [[http://www.youtube.com/|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. {{:wiki:odysee_embedded.png?200|}} {{odysee>2022-01-01-19-00-02/8e5b9de5f71b6ba9e06f2980e75078548294d42a}} {{odysee>2022-01-01-19-00-02/8e5b9de5f71b6ba9e06f2980e75078548294d42a}} \\ ==== Admnote ==== [[https://www.dokuwiki.org/plugin:admnote|Admnote Plugin]], This plugin adds Material-for-MkDocs Admonition((Github: [[https://squidfunk.github.io/mkdocs-material/reference/admonitions/]])) notes to Dokuwiki. There are twelve styles available: 'abstract', 'bug', 'danger', 'example', 'failure', 'information', 'note', 'question', 'quote', 'achievement', 'tip' & 'warning'. === Example (style only): === Example with the 'abstract'-style. Example with the 'abstract'-style. === Example (style + title): === Example with the 'warning'-style with a different title. 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~~ [[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~~