DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:note

Note Plugin

Compatible with DokuWiki

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

plugin This plugin allows you to create nice “notes” like this in your DokuWiki pages

Last updated on
2024-04-15
Provides
Syntax
Repository
Source
Conflicts with
cellbg, combo

Usage

When you have it installed, use this:

<note>
This is my note! Remember it!!
</note>

<note important>
Warning! You're about to lose your mind ;-)
</note>

<note tip>
The clues are in the images.
</note>

<note warning>
Beware of the cat when you open the door!!
</note>

You can use the note keywords important, warning and tip. Or some French synonyms: importante(important), bloquante, critique (warning), tuyau, idée (tip), classique (classic). It is quite easy to add new types of notes if you know a bit of PHP and CSS.

Limitations

Plugin won't work inside numbered list

It also doesn't appear to work within a folded section using the “Folded” plugin.

Correction: The syntax is as follows:

=== Note ===

++++Note dans un Folded|
<note critique>
Ça fonctionne seulement avec le //div// pas le //span//.
</note>
++++

Download / Installation

General instructions

  1. Download the latest version or the original version (Mirror: The tar.gz package of the original release can be found at http://www.mediafire.com/evildev.)
  2. Installing the plugin
    • Go via the Admin page to the Extension Manager and search and install this plugin. Or enter the URL for the plugin under Manual Install.
    • Or you can either extract the archive into the lib/plugins directory and update the timestamp on the extracted files. (probably because of ssme Dokuwiki caching feature)

Notes

  • With the 'usable' template there is excessive spacing above the note, I was able to remedy this problem by commenting out 'clear: both;' in 'style.css'. Your mileage may vary.
  • With the 'DokuCMS' template and with the 'clear: both;' in 'style.css', notes are “pushed down” by the TOC box instead of overlapping with it [frank]

Credits

**Many thanks to the DokuWiki developers and this plugin mainteners !

Thanks to (in any order) :

Had to end the line

Guys, how to make end of line marker into note? <br> didn't work, for example

Use an empty line. This works for me in greebo. — KaiMartin 2019-11-20 01:10
plugin/note.txt · Last modified: 2024-04-15 12:14 by 2a01:cb15:8181:e000:992e:45b4:4097:76b4

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