DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:qna

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:qna [2015-09-13 18:20] Aleksandrplugin:qna [2024-03-16 03:32] (current) – works nicely in Kaos KaiMartin
Line 4: Line 4:
 description: Custom formatting for Q&A (FAQ) sections description: Custom formatting for Q&A (FAQ) sections
 author     : Mykola Ostrovskyy author     : Mykola Ostrovskyy
-email      : spambox03@mail.ru+email      : dwpforge@gmail.com
 type       : syntax type       : syntax
-lastupdate : 2015-02-16 +lastupdate : 2023-06-18 
-compatible : Ponder Stibbons, 2009-12-02 (RC)+compatible : hrun, Ponder Stibbons, Hogfather, Igor, Jack Jackrum, Kaos
 depends    :  depends    : 
 conflicts  conflicts 
 similar    : wrap, faq similar    : wrap, faq
 tags       : formatting, boxes tags       : formatting, boxes
-downloadurl: https://github.com/dwp-forge/qna/archive/v.2015-02-16.zip+downloadurl: https://github.com/dwp-forge/qna/archive/v.2023-06-18.zip
 bugtracker : https://github.com/dwp-forge/qna/issues bugtracker : https://github.com/dwp-forge/qna/issues
 sourcerepo : https://github.com/dwp-forge/qna sourcerepo : https://github.com/dwp-forge/qna
Line 22: Line 22:
 ===== Download and Installation ===== ===== Download and Installation =====
  
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the following URL. 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.
  
-  * [[https://github.com/dwp-forge/qna/archive/v.2015-02-16.zip|qna-2015-02-16]]+  * [[https://github.com/dwp-forge/qna/archive/v.2023-06-18.zip|qna-2023-06-18]]
  
  
 ===== Syntax ===== ===== Syntax =====
  
-{{ http://img412.imageshack.us/img412/5109/demod.png?300}}+{{ https://images2.imgbox.com/53/76/4NHxycVI_o.png?300}}
  
 The basic QnA block starts with a question and is followed by one or more optional answers. The questions are marked by triple question mark at the start of a line, the answers --- with triple exclamation mark: The basic QnA block starts with a question and is followed by one or more optional answers. The questions are marked by triple question mark at the start of a line, the answers --- with triple exclamation mark:
Line 73: Line 73:
  
  
-===== Styling =====+===== Configuration =====
  
-All elements rendered by QnA plugin are wrapped into containers with distinct class names. This allows to easily customize their look with a CSS style sheet. The figure below shows different HTML elements generated by the plugin along with their ''class'' attributes:+The plugin supports multiple visual styles, and you can select the one you like the most using [[plugin:config|Configuration Manager]]. Look for "QnA" in plugin configuration section.
  
-{{ http://img502.imageshack.us/img502/258/styling.png |Styling}}+ 
 +===== Style customization ===== 
 + 
 +All elements rendered by QnA plugin are wrapped into containers with distinct class names. This allows to easily customize their look with a [[devel:css#user_styles|user-defined CSS style sheet]]. The figure below shows different HTML elements generated by the plugin along with their ''class'' attributes: 
 + 
 +{{ https://images2.imgbox.com/7b/77/yLUEHBQe_o.png |Styling}}
  
  
 ===== Version History ===== ===== Version History =====
 +
 +==== 2023-06-18 ====
 +
 +  * Fixed compatibility with DokuWiki Jack Jackrum
 +
 +==== 2022-07-06 ====
 +
 +  * Fixed compatibility with PHP8
 +
 +==== 2017-09-25 ====
 +
 +  * Fixed trimming of multibyte characters in question identifiers
 +
 +==== 2017-07-27 ====
 +
 +  * Added multiple formatting styles
 +  * Added configuration option for style selection
 +
 +==== 2017-06-20 ====
 +
 +  * Fixed background color selection for question and answer blocks
 +  * Fixed linking from TOC to QnA sections
 +
 +==== 2016-02-27 ====
 +
 +  * Respect ACL during TOC generation
 +  * Fixed PHP 7 compatibility
  
 ==== 2015-02-16 ==== ==== 2015-02-16 ====
plugin/qna.1442161222.txt.gz · Last modified: 2015-09-13 18:20 by Aleksandr

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