Have got the following HAML code, combined with Markdown:
%h2.slogan.align-center
:markdown
No more big words. Enough of the abbreviations.
**Project management for the rest of us.**
Which generates HTML:
<h2 class='slogan align-center'>
<p>No more big words. Enough of the abbreviations.<br/>
<strong>Project management for the rest of us.</strong></p>
</h2>
I’d like the HTML to look like (omitting surrounding <p> tags):
<h2 class='slogan align-center'>
No more big words. Enough of the abbreviations.<br/>
<strong>Project management for the rest of us.</strong>
</h2>
What’s the HAML/Markdown to create that HTML?
Well it is easy to do with only haml:
It seems like the markdown plugin of haml adds the p tag. According to the documentation this is accomplished by using one of 4 different markdown processors. I guess the result may differ depending on which one you are using.