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
dokuwiki_notes [2024/03/20 22:07] – [useful links] rajudokuwiki_notes [2024/04/21 15:44] (current) – [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 ====
Line 376: 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.1710972468.txt.gz · Last modified: 2024/03/20 22:07 by raju