Hi there,

Section titles by default are rendered as HTML like
```
<div class="title">section title</div>
```
As described here 
<https://github.com/github/markup/issues/479#issuecomment-88887800>,
> All CSS information is stripped from the generated HTML by the 
sanitization filter on GitHub. 
including `class` attributes, causing section titles show up like normal 
paragraphs.
GitHub uses AsciiDoctor <http://asciidoctor.org/> which behaves the same as 
AsciiDoc on section titles so it's not its problem.
mojavelinux <https://github.com/mojavelinux> suggests using `h6` or 
`caption` instead, as in here 
<https://github.com/github/markup/issues/479#issuecomment-88887928>. I 
don't like `strong`/`em` 
<https://github.com/github/markup/issues/479#issuecomment-88887800>. It's 
not semantic.
Maybe `<div class="title"><h6>section title</h6></div>`?

Thanks for your time.

Zorceta Moshak

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to