selfthinker / dokuwiki_plugin_wrap

Wrap Plugin for DokuWiki: Universal plugin which combines functionalities of many other plugins. Wrap wiki text inside containers (divs or spans) and give them a class (choose from a variety of preset classes), a width and/or a language with its associated text direction.
http://www.dokuwiki.org/plugin:wrap
GNU General Public License v2.0
42 stars 33 forks source link

Semantic markup: <mark> #252

Open saschaleib opened 1 year ago

saschaleib commented 1 year ago

Changes the "highlighted" menu item so it inserts a instead of the non-semantic span markup.

This also introduces a mechanism for bringing other semantic HTML tags to Wrap and hence to DokuWiki.

saschaleib commented 1 year ago

Following the discussion elsewhere, I have modified the hilight CSS to be applied to the <mark>tag as well, to make sure it appears correctly, even on very old browsers that have no built-in support for this tag. This also covers the wrap__dark variant that catches situations where the active template does not style this tag...