I am tearing my hair out, over something that I am sure is really easy once you know how to do it. I would like lists in markdown to have a hanging indent, so that the bullet is on the left, and the left hand of all the lines in the paragraph align.
EVERY description of markdown I can find online repeats the same information without describing exactly what I should do to achieve it:
"To make lists look nice, you can wrap items with hanging indents:
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
viverra nec, fringilla in, laoreet vitae, risus.
etc.
Iād be very grateful if someone could explain what āwrap items with hanging indentsā means.
Just put a hyphen or an asterisk followed by a space to start the line that you want to be a list item.
All markdown stacks have an example of this in their default text when you add them to the page so that you can see how it is done. (they also have a link to the markdown syntax cheat sheet page).
Thank you @habitualshaker. @mitchellm is surely right in the other thread that many people have problems with MD lists. I have added blank lines before and after, but not inbetween. I have also removed two blank spaces after each bullet point.
However, I still am not getting the expected behaviour. Here are two screenshots from a page with the Source theme: the first shows the Source MD stack, but without the CSS base added to the page - the markdown renders correctly.
The second screenshot show exactly the same page with the Source CSS base added. As you can see, the markdown has lost the hanging indents in the list.
Ah ok. Sorry missed that from your previous screenshot. Iāll add an option in a future version of the MD stack that will let you control this styling behaviour.
If you switch over to using @tavās Scribe (at least for now) it will let you override this.
Edit - in fact that wonāt work either. Hereās some custom css you can use. Add shift-bullet to the class name box for the Markdown stack in Stacks 4. And then add this to the page css.
.shift-bullet ul{
list-style-position: outside;
margin-left: 20px
}
Great, V1.4 fixes both the Source Markdown stack and the Scribe Markdown to offer both options with āinsideā and āoutsideā bullet indentation in the Source framework. (Scribe was of course working in other frameworks all along)