User Tools

Site Tools


dokuwiki_notes

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
Next revisionBoth sides next revision
dokuwiki_notes [2024/03/20 18:11] – [plugins I came across] rajudokuwiki_notes [2024/04/21 15:44] – [struct plugin] raju
Line 1: Line 1:
 ==== tasks ==== ==== tasks ====
   * [[random_page#generate_a_random_page | generate a random page]]   * [[random_page#generate_a_random_page | generate a random page]]
 +
 +==== how to write question and answers ====
 +tags | qna, Q&A
 +
 +You can use
 +<code>
 +:?: Question \\
 +:!: Answer
 +</code>
 +It will render as
 +
 +:?: Question \\
 +:!: Answer
 +
 +It also works with lists. For example
 +<code>
 +  * :?: Question
 +  * :!: Answer
 +</code>
 +will render as
 +  * :?: Question
 +  * :!: Answer
 +
 +See also:
 +  * https://forum.dokuwiki.org/d/3686-questions-and-answers-style - where I found this trick
 +  * https://www.dokuwiki.org/plugin:qna
  
 ==== convert mediawiki page to dokuwiki ==== ==== convert mediawiki page to dokuwiki ====
Line 309: Line 335:
   * https://www.dokuwiki.org/faq:lists has answers for   * https://www.dokuwiki.org/faq:lists has answers for
     * How to put line breaks in lists?     * How to put line breaks in lists?
 +  * https://www.dokuwiki.org/faq:approval has answer for
 +    * approve edits on dokuwiki
 +
 +  * struct plugin
 +    * https://www.dokuwiki.org/plugin:struct:filters#value_placeholders
  
 ==== useful links ==== ==== useful links ====
   * https://namespace-cpp.de/std/doku.php/wiki/quicksyntax - cheatsheet on dokuwiki syntax   * https://namespace-cpp.de/std/doku.php/wiki/quicksyntax - cheatsheet on dokuwiki syntax
     * provides an example on how to put content into two or more columns.     * provides an example on how to put content into two or more columns.
 +  * https://www.dokuwiki.org/namespace_templates - Namespace Templates
  
 ==== multiple lines in table cell ==== ==== multiple lines in table cell ====
Line 375: Line 407:
 Ref:- Ref:-
   * Found this tip in https://www.dokuwiki.org/namespaces . It covers a lot of other scenarios besides the above.   * Found this tip in https://www.dokuwiki.org/namespaces . It covers a lot of other scenarios besides the above.
 +
 +==== struct plugin ====
 +  * source code: https://github.com/cosmocode/dokuwiki-plugin-struct
 +  * https://forum.dokuwiki.org/d/17750-struct-plugin-how-to-use-page-schemas/4
 +    * Andi's post helps in how to think about the struct plugin
  
dokuwiki_notes.txt · Last modified: 2024/05/04 05:26 by raju