DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:bbcodeextensions

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
plugin:bbcodeextensions [2023-02-17 21:17] – -tag experimental, +tag htmlok_replacement ryan-chappelleplugin:bbcodeextensions [2023-04-13 23:09] (current) ryan-chappelle
Line 6: Line 6:
 email      : lambalicious [at] tuta [dot] io email      : lambalicious [at] tuta [dot] io
 type       : syntax type       : syntax
-lastupdate : 2023-02-14+lastupdate : 2023-04-13
 compatible :  compatible : 
 depends    :  depends    : 
 conflicts  conflicts 
 similar    : bbcode similar    : bbcode
-tags       : formatting, markup_language, bbcode, htmlok_replacement+tags       : formatting, markup_language, highlight, bbcode, htmlok_replacement
  
-downloadurl: https://notabug.org/lmachucabezzaza/dw-plugin-bbcode-extensions/archive/master.zip +downloadurl: https://codeberg.org/lmachucabezzaza0/dw-plugin-bbcode-extensions/archive/master.zip 
-bugtracker : https://notabug.org/lmachucabezzaza/dw-plugin-bbcode-extensions/issues +bugtracker : https://codeberg.org/lmachucabezzaza0/dw-plugin-bbcode-extensions/issues 
-sourcerepo : https://notabug.org/lmachucabezzaza/dw-plugin-bbcode-extensions/+sourcerepo : https://codeberg.org/lmachucabezzaza0/dw-plugin-bbcode-extensions
 donationurl: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T44AQDXJQJTJQ&source=url donationurl: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=T44AQDXJQJTJQ&source=url
 ---- ----
Line 25: Line 25:
  
 Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
 +
 +:!: The official release of the plugin has been moved over to Codeberg; the Notabug release URL remains as a mirror.
  
 ===== Usage ===== ===== Usage =====
  
-The plugin adds a few non-standard BBCode tags found in different forums. Where possible those tags map to HTML tags or formatting elements, to aid in supplementing :!: [[https://github.com/splitbrain/dokuwiki/pull/3798|planned loss of embedded HTML support]].+The plugin adds a few non-standard BBCode tags found in different forums. Where possible those tags map to HTML tags or formatting elements, to aid in supplementing :!: [[PR>3798|planned loss of embedded HTML support]].
  
 See the plugin in action at FIXME (pending demo page). See the plugin in action at FIXME (pending demo page).
Line 39: Line 41:
  
 An anchor with HTML id "''name''" will be placed in the page at that position, which can be linked to via ''%%[[pagelink#name]]%%'' (see also: [[plugin:anchor]]). An anchor with HTML id "''name''" will be placed in the page at that position, which can be linked to via ''%%[[pagelink#name]]%%'' (see also: [[plugin:anchor]]).
 +
 +**Edit Markers**
 +
 +<code>
 +[del]this section has been deleted[/del]
 +[ins]this section has been added[/ins]
 +</code>
 +
 +These tags mark text as being the result of an edit deletion or edit insertion via de respective HTML elements [[https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del|del]] (deletion) and [[https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins|ins]] (insertion). 
 +
 +Depending on the user agent they are styled in different ways: for example, a deletion can be marked with <del>strikethrough</del> while an insertion can be styled with __underline__.
 +
 +**Highlight**
 +
 +<code>
 +Please take notice of [hil]this particular result[/hil].
 +</code>
 +
 +Code stylized with this element is marked by default in the same way that the search results for the OS-level or browser-level in the current page. For example, in some browsers this is a yellow background. This is done via the [[https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark|mark]] HTML element.
 +
  
 **Quote (inline)** **Quote (inline)**
Line 56: Line 78:
 </code> </code>
  
-**Freeclass Styling**+**Terminal Interaction** 
 + 
 +<code> 
 +Type [kbd]hello world <Enter>[/kbd]  
 +and you get a [samp]Hello $NAME[/samp] as response. 
 +</code> 
 + 
 +Text marked with these tags is marked as, respectively, **input** given to a terminal prompt or to a system that takes user input, and **output** that is rendered by a terminal or other such device. These are basically semantic supplements to the ''code'' tag. See [[https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd]] (user input) and [[https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp]] (terminal output). 
 + 
 +==== Freestyle ====
  
-Two generic tags are added which allow to create a %%<div>%% or a %%<span>%% decorated with given classnames. The syntax is as follows:+Two generic tags are added which allow to create a %%<div>%% or a %%<span>%% decorated with given classnames. This means you can style inline or block sections in any way that is loaded in your local wiki, for example in ''conf/userstyles.css''. The syntax is as follows:
  
  
Line 65: Line 96:
 | ''%%[cs="classes..."] Content [/cs]%%''  | ''%%<span class="classes..."> Content </span>%%''   | | ''%%[cs="classes..."] Content [/cs]%%''  | ''%%<span class="classes..."> Content </span>%%''   |
  
-See also: [[doku>plugin:wrap]].+See also: the [[plugin:wrap|Wrap Plugin]].
  
  
Line 73: Line 104:
  
 ^  Parameter ^  Usage   | ^  Parameter ^  Usage   |
-| ''anchor_symbol''  | The symbol to preppend to anchor syntax for non-HTML renderers, such as the [[doku>plugin:text|text renderer]]. Defaults to the [[wp>Index (typography)|typographical mark]] "☞" .  |+| ''anchor_symbol''  | The symbol to preppend to anchor syntax for non-HTML renderers, such as the [[plugin:text|text renderer]]. Defaults to the [[wp>Index (typography)|typographical mark]] "☞" .  |
  
  
Line 90: Line 121:
 === Change Log === === Change Log ===
  
-{{rss>https://notabug.org/lmachucabezzaza/dw-plugin-bbcode-extensions/commits/master date}}+{{rss>https://codeberg.org/lmachucabezzaza0/dw-plugin-bbcode-extensions.rss date}}
  
 === Issues === === Issues ===
  
-See the [[https://notabug.org/lmachucabezzaza/dw-plugin-bbcode-extensions/issues|issue tracker]] for issues.+See the [[https://codeberg.org/lmachucabezzaza0/dw-plugin-bbcode-extensions/issues|issue tracker]] for issues.
  
  
plugin/bbcodeextensions.1676665036.txt.gz · Last modified: 2023-02-17 21:17 by ryan-chappelle

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki