12

It is possible to have two different list (one next to the other) in Markdown without an horizontal ruler?

  • Element 1
  • Element 2
  • Element 3

  • Elelemt 1
  • Element 2
asked Dec 18, 2016 at 16:43

3 Answers 3

21

I usually use an HTML comment to break up adjacent lists, e.g.:

1. One
1. Two
<!-- -->
1. One
1. Two

On Stack Overflow, and just about everywhere else I've tried, this renders as

  1. One
  2. Two
  1. One
  2. Two

I think a comment is nicer than a <br> tag since it is semantically meaningless.

answered Dec 18, 2016 at 20:16
Sign up to request clarification or add additional context in comments.

Comments

3

Not sure if there's a pure markdown way, but most parsers will allow you to use a subset of HTML tags.

- Element 1
- Element 2
- Element 3
<br />
+ Elelemt 1
+ Element 2
answered Dec 18, 2016 at 16:46

Comments

3

I use an empty link:

- Element 1
- Element 2
- Element 3
[]()
+ Elelemt 1
+ Element 2

It just renders as empty paragraph. It's easy to type ([ ] and ( ) are close to each other) and because [] is empty, it renders as a space between lists.

  • Element 1
  • Element 2
  • Element 3
  • Elelemt 1
  • Element 2
answered Jan 7, 2021 at 9:59

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.