Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Markdown how does one keep multiple paragraphs within a single bullet point?

Tags:

markdown

In a markdown file I'm rendering using Kramdown I have a list like this:

  • First bullet point, paragraph 1

Paragraph 2

  • New bullet point, paragraph 1

Paragraph 2

and so forth. The problem is how do I get the second, third, fourth and nth paragraph indented like the first paragraph is? This I want because I want it clear where the list indicated by bullet points, in fact, ends.

I have tried using >> and :: before the new paragraphs underneath the same bullet point, but neither have produced the desired effect, namely with >> I get:

  • First bullet point, paragraph 1

    Paragraph 2

  • Second bullet point, paragraph 1

    Paragraph 2

Likewise with :: I get:

  • First bullet point, paragraph 1

:: Paragraph 2

  • Second bullet point, paragraph 1

:: Paragraph 2

Likewise if I use   (which adds a space) all it does is it indents the start of the paragraph, but not the rest of it. So, does anyone know a way to fix this dilemma?

I know a HTML solution—merely creating a HTML list, which caters better to new paragraphs under the one bullet point—but I'd like a markdown solution.

like image 856
Josh Pinto Avatar asked Dec 10 '22 03:12

Josh Pinto


1 Answers

Is this what you're looking for? if so, check the markdown formatting of this answer (add four spaces before each sub-paragraph). Also, review markdown tutorial here

  • item 1 para 1: this is para 1 narrative text this is para 2 narrative text this is para 2 narrative text this is para 2 narrative text this is para 2 narrative text this is para 2 narrative text

    item 1 para 2: this is para 2 narrative text this is para 2 narrative text this is para 2 narrative text this is para 2 narrative text

    item 1 para 2: this is para 2 narrative text this is para 2 narrative text this is para 2 narrative text this is para 2 narrative text

  • item 2 para 1: blah blah blah

    item 2 para 2: this is para 2 narrative text this is para 2 narrative text this is para 2 narrative text this is para 2 narrative text

like image 103
SanV Avatar answered Jun 09 '23 13:06

SanV