Does markdown
support native text-alignment without usage html
+ css
?
native markdown doesn't support text alignment without html
+ css
.
The div element has its own alignment attribute, align.
<div align="center">
my text here.
</div>
In order to center text in md files you can use the center tag like html tag:
<center>Centered text</center>
To center align, surround the text you wish to center align with arrows (->
<-
) like so:
-> This is center aligned <-
I known this isn't markdown, but <p align="center">
worked for me, so if anyone figures out the markdown syntax instead I'll be happy to use that. Until then I'll use the HTML tag.
For python markdown with attr_list extension the syntax is a little different:
{: #someid .someclass somekey='some value' }
Example:
[Click here](http://exmaple.com){: .btn .btn-primary }
Lead information paragraph
{: .lead }