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 [2009-12-26 08:45] 218.215.70.187plugin:qna [2024-03-16 03:32] (current) – works nicely in Kaos KaiMartin
Line 1: Line 1:
-====== QnA plugin ======+====== QnA Plugin ======
  
 ---- plugin ---- ---- plugin ----
 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 : 2009-12-13 +lastupdate : 2023-06-18 
-compatible : 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.2023-06-18.zip
 +bugtracker : https://github.com/dwp-forge/qna/issues
 +sourcerepo : https://github.com/dwp-forge/qna
 ---- ----
  
Line 19: 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.
  
-  * [[http://dwp-forge.googlecode.com/files/qna-2009-12-13.zip|qna-2009-12-13]]+  * [[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 70: 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 ====
 +
 +  * Various minor bug fixes
  
 ==== 2009-12-13 ==== ==== 2009-12-13 ====
Line 83: Line 122:
   * First public release   * First public release
  
-===== Bugs / Feature Requests ===== 
  
-Please report bugs or feature requests at the [[http://code.google.com/p/dwp-forge/issues/list|bug tracker]].+===== Bugs and Feature Requests =====
  
 +Please report bugs or feature requests at the [[https://github.com/dwp-forge/qna/issues|bug tracker]].
  
-===== Discussion ===== 
  
-Great Idea! I added following to a page after plugin install; 
-<code> 
-~~QNA~~ 
-=?=== General ===== 
-??? How do I do ...? 
-!!! Its as easy as...... 
-</code> 
-The QNA rendered ok but the actual question and answer remained as just plain text. Are you aware of any conflicts with other DokuWiki plugins? 
plugin/qna.1261813540.txt.gz · Last modified: 2009-12-26 08:45 by 218.215.70.187

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