part of the GtC documentation

WRAP

Try out all these techniques below in the playground.

What WRAP is doing is essentially importing some HTML functionality (and as you might also see, following HTML syntax) for a few things that aren't easy in a lightweight markup language (LML). This kind of thing is a common feature of wikis and related systems. HTML is, for sure, more complex and less straightforward than a LML, but much much richer in what it can do. So many wiki systems allow embedding of HTML in one way or another.

It's part of the same challenge that people have been struggling with for decades. How do you give people control over what's in a document and how it appears, without making it too difficult to manage? Some people these days say AI is the way to go — personally I'm not so sure!

Near the right end of the toolbar, there is a button icon: This is an illustration: don't click here!. Clicking here reveals a long menu:

This is an illustration: don't click here!

You probably won't need to use any of these, but you are welcome to explore, or ask for help if desired.

Just taking a couple of examples from the first topic commoning in the first topic group community & culture, there are several uses of the <WRAP> feature. We've used it in every page; this is just the first one that comes to hand.

<WRAP center centeralign> 
<figure>
{{url>https://www.youtube.com/embed/7bQiBcd7mBc 560,315}}
<caption>
_How does the commons work? From the [Next System Project](https://thenextsystem.org/)._
</caption>
</figure>
</WRAP>

gives

How does the commons work? From the Next System Project.

This illustrates centering and captions, as well as an embedded video. It's essentially the same with still images. Here we have used Markdown syntax.

<WRAP center centeralign>
<figure>
![](https://lowimpactorg.onyx-sites.io/wp-content/uploads/survival-international.jpg)
<caption>
_[Survival International](https://www.survivalinternational.org/) are fighting the enclosure of ‘wilderness’ that has been commoned by indigenous people all over the world for millennia._
</caption>
</figure>
</WRAP>

gives

Survival International are fighting the enclosure of ‘wilderness’ that has been commoned by indigenous people all over the world for millennia.


There are many many more examples on almost every topic page. You get the general idea!

See the documentation on plugin:wrap on the DokuWiki site.

  • doc/wrap.1775026887.txt.gz
  • Last modified: 2026/04/01 07:01
  • by Simon Grant