====== Ad-Hoc HTML Plugin ====== ---- plugin ---- description: A secure but flexible way to insert HTML tags into DokuWiki author : Sascha Leib email : sascha.leib@kolmio.com type : Syntax lastupdate : 2023-10-14 compatible : Kaos, Igor, Jack Jackrum depends : conflicts : similar : wrap tags : html, syntax downloadurl: https://github.com/saschaleib/dokuwiki-plugin-adhoctags/archive/refs/tags/2023-10-14.zip bugtracker : https://github.com/saschaleib/dokuwiki-plugin-adhoctags/issues sourcerepo : https://github.com/saschaleib/dokuwiki-plugin-adhoctags donationurl: screenshot_img : https://fallacies.online/img/AdHocTags.png ---- **Note:** This plugin was formerly known as “Ad Hoc Tags”. It is being renamed in order to avoid confusion with other "tags" plugins here, which all do something entirely different. ===== Installation ===== You can install the plugin using the [[extension|Extension Manager]] (look for “ad hoc”), or via the download URL above. Refer to [[:Plugins]] on how to install plugins manually. ===== Examples/Usage ===== This plugin enables you to use the //certain// HTML tags directly in your DokuWiki code. By adding a simplified way of encoding attributes, this enables a more elegant and less verbose code, as in the following example: The Ad Hoc Tags plugin gives flexibility in using HTML tags, without the hasle and potential security problems of enabling full HTML syntax. For more information, please see the [[https://github.com/saschaleib/dokuwiki-plugin-adhoctags/blob/main/README.md|Read Me]] file on **GitHub.** ===== Syntax ===== ==== HTML Tags ==== The plugin adds the following tags to DokuWiki (links go to the MDN pages for these tags): * '''' — “[[https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a|Anchor/Link]]” * '''' – “[[https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr|Abbreviation]]”* * ''
'' – “[[https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address|Address]]” * ''
'' – “[[https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article|Article]]” * ''