Josh Pinto
Josh Pinto

Reputation: 1573

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

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

Paragraph 2

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:

Likewise with :: I get:

:: Paragraph 2

:: 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.

Upvotes: 14

Views: 9913

Answers (2)

SanV
SanV

Reputation: 945

Is this what you're looking for? If so, add four spaces before each sub-paragraph. Also, review the Markdown tutorial.

 - **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  

Upvotes: 26

rici
rici

Reputation: 241771

Indent the paragraph with four spaces.

Upvotes: 17

Related Questions