Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mprins/dokuwiki-yalist-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mprins committed Aug 29, 2016
2 parents b415857 + 6d405e5 commit ee73be9
Show file tree
Hide file tree
Showing 2 changed files with 201 additions and 159 deletions.
35 changes: 35 additions & 0 deletions _test/data/pages/example.txt
@@ -0,0 +1,35 @@
- Ordered list item 1
- Ordered list item 2
-- Ordered list item 3...
.. ... in multiple paragraphs
- Ordered list item 4

* Unordered list item
** Unordered list item...
.. ... in multiple paragraphs

- Ordered list, first level
- Second level
- Third level
- Fourth level
-- Back to second level
- //Second?! What happened to third?//
.. //Quiet, you.//
- Back to first level
- Still at first level

? Definition list
: Definition lists vary only slightly from other types of lists in that list items consist of two parts: a term and a description. The term is given by the DT element and is restricted to inline content. The description is given with a DD element that contains block-level content. [Source: W3C]
? Definition list w/ multiple paragraphs
:: The style sheet provided with this plugin will render these paragraphs...
.. ... to the left of the term being defined.
? Definition list w/ multiple "paragraphs"
: Another way to separate blocks of text in a definition...
: ... is to simply have multiple definitions for a term (or group of terms).

: This definition list has DD tags without any preceding DT tags.
: Hey, it's legal XHTML.
? Just like DT tags without following DD tags.
?? But DT tags can't contain paragraphs. That would __not__ be legal XHTML.

.. If you try, the result will be rendered oddly.

0 comments on commit ee73be9

Please sign in to comment.