DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:bbcodeextensions

bbcodeextensions Plugin

Compatible with DokuWiki

No compatibility info given!

plugin

Last updated on
2020-05-05
Provides
Syntax
Repository
Source

The BBCode Extensions plugin introduces support for a number of nonstandard BBCode tags that are forum-specific and do not form part of the mainline BBCode Plugin for DokuWiki.

Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Usage

See the plugin in action at FIXME (pending demo page).

Syntax Result
[a]name[/a] An anchor which can be pointed to via [[pagelink#name]] (see also: anchor).
[cd="classes..."]
Content[/cd]
A <div> with the given class="classes..." (see also: wrap).
[cs="classes..."]
Content[/cd]
A <span> with the given class="classes..." (see also: wrap).

Configuration and Settings

The plugin has one configurable parameter:

Parameter Usage
anchor_symbol The symbol to preppend to anchor syntax for non-HTML renderers, such as the text renderer. Defaults to the typographical mark “☞” .

Development

Potentially thinking of implementing some BBCode tags such as:

  • [baseurl=...] for domain-based relative URL links (see baselink).
  • [hil]... for highlighting text the same way as highlights for eg.: search results.
  • [h1][h6] for headers.
  • [hh] for same-level headers.
  • [left]/[right]/[center]/[justify] for text alignment (see divalign2).
  • [abbr] for abbreviation/tooltip.

Change Log

2020-05-05

  • Warnings related to PHP 7 and function signatures have been fixed.
  • The plugin has now tentative support for alternate renderers.

2018-02-01

  • First upload. Support for a (anchor), cd / cs (class div/span).

See the issue tracker for a more precise view of changes.

Issues

See the issue tracker for issues.

FAQ

Discussion

plugin/bbcodeextensions.txt · Last modified: 2020-07-27 16:43 by ryan-chappelle