# Comment faire un retrait de liste lors de la modification d'un message ?

**URL:** https://meta.discourse.org/t/how-indent-lists-when-editing-a-post/44978
**Category:** Support
**Created:** [Mai 29, 2016, 10:02 UTC](https://meta.discourse.org/t/how-indent-lists-when-editing-a-post/44978 "2016-05-29T22:02:58Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![MLModel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mlmodel/32/55180_2.png) [@MLModel](https://meta.discourse.org/u/MLModel)
#### Post date: [Mai 29, 2016, 10:02 UTC](https://meta.discourse.org/t/how-indent-lists-when-editing-a-post/44978/1 "2016-05-29T22:02:58Z")

</div>

I would like to have an indented sublist (bullet or numbered) under a top-level list item. I know how to do this in various formatting languages — HTML, Markdown, etc. — but I don’t see how to do it using the editing features of discourse. I realize I can use HTML, but. I probably could use MD too? What’s the easiest way of doing this?

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [Mai 29, 2016, 10:04 UTC](https://meta.discourse.org/t/how-indent-lists-when-editing-a-post/44978/2 "2016-05-29T22:04:26Z")

</div>

```plaintext
- parent list item
  - sub-item
- another parent
  - sub item again
  - yet another sub item

```

- parent list item
  - sub-item

- another parent
  - sub item again
  - yet another sub item

---

<div class="post-metadata">

### Author: ![anon82356247](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@anon82356247](https://meta.discourse.org/u/anon82356247)
#### Post date: [Mai 31, 2016, 8:43 UTC](https://meta.discourse.org/t/how-indent-lists-when-editing-a-post/44978/3 "2016-05-31T20:43:45Z")

</div>

Ok, how did you do that??? I can’t recreate it. 😕

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [Mai 31, 2016, 8:53 UTC](https://meta.discourse.org/t/how-indent-lists-when-editing-a-post/44978/4 "2016-05-31T20:53:55Z")

</div>

The top half of @cpradio’s post is how he did it. Copy the stuff in the gray box right into a reply, and that’s how you can do it.

Essentially, to create a bullet, make sure there is a blank line above if not the first line, then type a dash, a space, then the line of text. To create an indented bullet, after a regular bullet, type a space, then dash, then space, then text.

Hope this helps!

---

<div class="post-metadata">

### Author: ![anon82356247](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@anon82356247](https://meta.discourse.org/u/anon82356247)
#### Post date: [Mai 31, 2016, 8:55 UTC](https://meta.discourse.org/t/how-indent-lists-when-editing-a-post/44978/5 "2016-05-31T20:55:44Z")

</div>

- ok, got it!
- Thanks!

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [Mai 31, 2016, 11:31 UTC](https://meta.discourse.org/t/how-indent-lists-when-editing-a-post/44978/6 "2016-05-31T23:31:01Z")

</div>

You may wish to work through the interactive tutorials at [Markdown Reference](http://commonmark.org/help) – it’s a great resource!

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [Juin 8, 2024, 12:45 UTC](https://meta.discourse.org/t/how-indent-lists-when-editing-a-post/44978/7 "2024-06-08T12:45:35Z")

</div>

Ce sujet a été automatiquement fermé après 2931 jours. De nouvelles réponses ne sont plus autorisées.
