Forum
Line Breaks in Markdown
Hi, Forgive my ignorance, but I cannot seem to figure out how to get consecutive line breaks in my markdown to work without having to manually insert <br/>. I'm sure my clients will not want to do this every time they need to make a few line breaks. Any help? Thanks.
Markdown really isn't geared up for that. What you're asking for is to control presentation (the amount of line spacing) with HTML. That's the job of CSS, not HTML.
I know how to address line spacing in css, which I have done. But when writing a post, by pushing enter twice, it still only gives me a single line break instead of two. Are my clients who are using markup, with no code skill at all, going to have to manually insert a <br/> tag to get an extra space in there?
What are you seeing in the HTML? Are paragraphs wrapped in paragraph tags? If so the correct HTML is being generated - Markdown won't create gaps in markup like that because that's presentational as Drew explained.
It may be that one of the other editor plugins will allow that kind of HTML to be inserted.
Thanks. The editor plugin is what works the best.