File: code-lists.md

package info (click to toggle)
ruby-org 0.9.12-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,852 kB
  • sloc: ruby: 3,044; lisp: 50; makefile: 4
file content (79 lines) | stat: -rw-r--r-- 1,021 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# normal list should work

 * one
text in the same line

This is a paragraph
  * A sublist
   * Another sublist

Sublist paragraph
  * 2nd sublist
   * 2nd sublist item

Paragraph from 2nd sublist
 * two
  * a new list

paragraph
  * another sublist
 * final list
# paragraphs in lists should work

 * Foo
  * How does this work?

uno dos tres
  * Should not this be a paragraph?
 * Bar

# begin example in lists should work

 * Foo
```
    class Hello
      def say
        puts 'cheers'
      end
    end
```
 * Bar
```
    This gets lumped in to the above line "Example"
```
 * Hello

# begin quote in lists should work

 * Example
  * Uno
Lorem
A quote!!!
dolor
  * Dos

# tables in lists should work

 * Example
  * Table

This table:
| a | b |
| 0 | 1 |
| 1 | 2 |

 * After the table

The table should be above

# definition lists should work

 * Example
Hello :: Hola
Paragrap continues here
Cuando me desperte, el dinosaurio estaba alli.
Dog :: Perro
Paragraph
  * Last sublist
 * Another list
  * with a sublist