cases/listblocks.org
46 lines · 656 bytes
1#+TITLE: Blocks inside list items
2
3* Source blocks
4
51. Fork the repository
62. Create a new branch:
7 #+begin_src bash
8 git checkout -b my-feature
9 #+end_src
103. Open a pull request
11
12* Other blocks
13
14- an item with an example block
15
16 #+begin_example
17 plain example text
18 #+end_example
19
20- an item with a quote
21
22 #+begin_quote
23 quoted line
24 #+end_quote
25
26* Blocks alongside other content
27
28- an item with a sublist and a block
29 - inner item
30 #+begin_src sh
31 echo hi
32 #+end_src
33
34- an item with two paragraphs and a block
35
36 the second paragraph
37
38 #+begin_src sh
39 echo again
40 #+end_src
41
42- an item with a table
43
44 | a | b |
45 |---+---|
46 | 1 | 2 |