User Tools

Site Tools


external:yalist

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
external:yalist [2018/10/16 05:19] – [Combination] Johannexternal:yalist [2019/03/24 06:12] (current) Johann
Line 1: Line 1:
 +====== yalist-samples ======
  
 +===== plugins possibilities =====
 +
 +[[doku>plugin:Yalist]]'s sample here executed:
 +
 +
 +
 +  - 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.
 +
 +
 +===== Task by Geos =====
 +
 +
 +Solution with [[doku>plugin:yalist]] for the issue raised [[https://forum.dokuwiki.org/post/63117|here]]
 +
 +Bullet Point Level 1, first line
 +  ** (1) Bullet Point Level 1, first line
 +  .. (2) Bullet Point Level 1, second line 
 +    ** (3) Bullet Point Level 2
 +    .. <wrap indent>indent</wrap>:  ''%%<span>%%'''s, here ''%%<wrap indent>indent</wrap>%%'' can be inside ''dd''.
 +    ** (4) Bullet Point Level 2
 +  .. (5) Bullet Point Level 1, third line
 +  ** (6) Bullet Point Level 1, first line
 +
 +<code>Bullet Point Level 1, first line
 +  ** (1) Bullet Point Level 1, first line
 +  .. (2) Bullet Point Level 1, second line 
 +    ** (3) Bullet Point Level 2
 +    .. <wrap indent>indent</wrap>:  ''%%<span>%%'''s, here ''%%<wrap indent>indent</wrap>%%'' can be inside ''dd''.
 +    ** (4) Bullet Point Level 2
 +  .. (5) Bullet Point Level 1, third line
 +  ** (6) Bullet Point Level 1, first line</code>
 +
 +Nesting seems to work fine.
 +
 +**with standard-means:**
 +Organicing it nesting-looking would not easy work (5 is the issue) by using ''%%\\%%''-linebreak-tags):
 +
 +Bullet Point Level 1, first line
 +  * (1) Bullet Point Level 1, first line \\ (2) Bullet Point Level 1, second line 
 +    * (3) Bullet Point Level 2
 +    * (4) Bullet Point Level 2 \\ (5) Bullet Point Level 1, third line
 +  * (6) Bullet Point Level 1, first line
 +
 +<code>Bullet Point Level 1, first line
 +  * (1) Bullet Point Level 1, first line \\ (2) Bullet Point Level 1, second line 
 +    * (3) Bullet Point Level 2
 +    * (4) Bullet Point Level 2 \\ (5) Bullet Point Level 1, third line
 +  * (6) Bullet Point Level 1, first line</code>
 +
 +===== work around =====
 +
 +Visual work arounds with ''wrap outdent'' (intend):
 +
 +  * outer 1a
 +  * outer 1b
 +    * inner 2a
 +    * inner 2b\\ <wrap outdent>outer 1c</wrap>
 +  * outer 2c
 +  * outer 2c\\ <wrap indent>outer 1c</wrap>
 +
 +<code>  * outer 1a
 +  * outer 1b
 +    * inner 2a
 +    * inner 2b\\ <wrap outdent>outer 1c</wrap>
 +  * outer 2c
 +  * outer 2c\\ <wrap indent>outer 1c</wrap></code>
 +
 +===== Combination =====
 +
 +List in definition list:
 +
 +  ? Definition
 +  :: A list
 +  ** 1. point
 +    ** 1.1
 +  .. text to 1. point
 +  ** 2. point
 +  :: Text
 +  ? Next definition 
 +  :: say a code <code>test code</code>
 +  
 +<code>  ? Definition
 +  :: A list
 +  ** 1. point
 +    ** 1.1
 +  .. text to 1. point
 +  ** 2. point
 +  :: Text
 +  ? Next definition</code>
 +  
 +===== Task by James Roger =====
 +
 +came up here: [[https://forum.dokuwiki.org/thread/16843|Issues with Yalist with order list numbering and bullets]].
 +
 +==== Sample 1 ====
 +
 +  - ordered 1.
 +  - ordered 2.
 +    * in between
 +    * in between
 +  - ordered 3.
 +
 +<code>  - ordered 1.
 +  - ordered 2.
 +    * in between
 +    * in between
 +  - ordered 3.</code>
 +
 +==== Sample 2 ====
 +breaks the flow
 +
 +  - ordered 1.
 +  - ordered 2.
 +  * in between
 +  * in between
 +  - ordered 3.
 +
 +<code>  - ordered 1.
 +  - ordered 2.
 +  * in between
 +  * in between
 +  - ordered 3.</code>
 +
 +==== Sample 3 ====
 +
 +  -- ordered 1.
 +  -- ordered 2.
 +  .. in between
 +  .. in between
 +  -- ordered 3.
 +
 +<code>  -- ordered 1.
 +  -- ordered 2.
 +  .. in between
 +  .. in between
 +  -- ordered 3.</code>
external/yalist.txt · Last modified: 2019/03/24 06:12 by Johann