Reputation: 1234
I want to create a list in Markdown, but without bullet points. Is that possible?
The only recommended ways I found so far are using HTML, which I want to avoid.
Upvotes: 40
Views: 29844
Reputation: 609
How about using pre tag?
<pre>
first
second
third
</pre>
rendered output is below
first second third
Upvotes: 0
Reputation: 199
You could simply put the items in new lines with every line ends with
Example:
item 1 <br/>
item 2 <br/>
item 3 <br/>
item 4 <br/>
Upvotes: 1
Reputation: 7573
I know this isn't really specific to Github, but, if that were the case, you could then leverage the native CSS styling there:
<div id="user-content-toc">
<ul>
...
</ul>
</div>
Upvotes: 1
Reputation: 462
This might sound obvious but... you could understand a list as "lines separated by line breaks" (when you think about the output, not the markup).
First item (<-- two spaces)
Second item
This will render to:
First item
Second item
This looks like a list with no bullet points :)
A more beautiful example.
Upvotes: 29
Reputation: 2299
Like @mb21 specified, here is the CSS if someone needs:
ul {
list-style-type: none;
margin-left: 40px;
}
Upvotes: 6
Reputation: 39227
No, with pure markdown this is not possible.
Think of Markdown as a simpler syntax for HTML. To change the styling you'll need to add a CSS to the generated HTML.
Upvotes: 16