Add a test case for paragraphs in lists

master
Kaushal Modi 8 years ago
parent 4fbcb88143
commit 3a9a676e17
  1. 19
      test/site/content-org/all-posts.org
  2. 21
      test/site/content/posts/paragraphs-in-lists.md

@ -3092,6 +3092,25 @@ So in that case, switch back to the descriptive list syntax used in
- foo2
- bar3 :: description for bar3
- bar4 :: description for bar4
** Paragraphs in lists :paragraph:
:PROPERTIES:
:EXPORT_FILE_NAME: paragraphs-in-lists
:END:
- Bullet lists can have paragraphs or block elements within them.
Just indent the content to be even with the text of the bullet
point, rather than the bullet itself.
#+begin_src shell
ls -l
#+end_src
- Here's the second bullet item.
Paragraph 1 in second bullet.
Paragraph 2 in second bullet.
Paragraph outside the list.
** Force ordered list numbering :custom_counter:
:PROPERTIES:
:EXPORT_DATE: 2017-08-01

@ -0,0 +1,21 @@
+++
title = "Paragraphs in lists"
tags = ["lists", "paragraph"]
draft = false
+++
- Bullet lists can have paragraphs or block elements within them.
Just indent the content to be even with the text of the bullet
point, rather than the bullet itself.
```shell
ls -l
```
- Here's the second bullet item.
Paragraph 1 in second bullet.
Paragraph 2 in second bullet.
Paragraph outside the list.
Loading…
Cancel
Save