DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:adhocwrap

Ad-Hoc Wrap Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" yes
  • 2023-04-04 "Jack Jackrum" yes
  • 2022-07-31 "Igor" yes
  • 2020-07-29 "Hogfather" unknown

plugin Selected and modernized styles and functions of the Wrap plugin, re-implemented on top of the Ad-Hoc HTML plugin.

Last updated on
2023-04-05
Provides
Syntax, Render
Repository
Source
Conflicts with
wrap
Requires
adhoctags

Similar to wrap

:!: This plugin is still under development and some features may not yet work as expected, or may be changed or even removed in future versions. You are welcome to test this and report bugs back to the author. Be careful when using it in a production environment.

Installation

:!: Important This plugin requires the Ad-Hoc HTML plugin, which must be installed before this one. Because it replicates functionality of the Wrap, the latter must be disabled or uninstalled.

Install the plugin using the Plugin Manager and the download URL above, which points to the latest version of the plugin. Refer to Plugins on how to install plugins manually.

Examples/Usage

This plugin replicates styles and layout options of the Wrap plugin, but modernizes the styles and offers more flexible options.

See the plugin in action on the demo page. The sample page shows all relevant styles available with the plugin.

For example, you can add an info box as follows:

<WRAP info>
  **Information:** Text here.
</WRAP>

Another aspect is page layouts. You can create them like this:

<WRAP grid-2-columns>
 <div>
  === Column 1 ===
  ...
 </div>
 <div>
  === Column 2 ===
  ...
 </div>
</WRAP>

More examples, including the results, can be seen on the demo page.

plugin/adhocwrap.txt · Last modified: 2024-03-27 14:14 by sascha-leib

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