aboutsummaryrefslogtreecommitdiff
path: root/linux/make_deb.sh
diff options
context:
space:
mode:
authorMichael Peyton Jones <me@michaelpj.com>2019-08-23 17:13:32 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2019-08-23 09:13:31 -0700
commit9b5082b086359a63b92bdb40166fa59dea27afe1 (patch)
treea8a2c9b450e0d38aae5018758570e057d51a2fc1 /linux/make_deb.sh
parent3344f861c4bca1040f5e1db320f03a4bf7019175 (diff)
downloadpandoc-9b5082b086359a63b92bdb40166fa59dea27afe1.tar.gz
docbook: richer parse for admonitions (#5593)
Fixes #1234. This parses admonitions not as a blockquote, but rather as a div with an appropriate class. We also handle titles for admonitions as a nested div with the "title" class. (I followed the behaviour of other docbook-to-html converters in this - there are clearly other ways you could encode it.) In general, the handling of elements with nested title elements is very inconsistent. I think we should make it consistent, but I'm leaivng that for later to make this a small change. Example: ```docbook <warning xml:id="someId"> <title>My title</title> <simpara>An admonition block</simpara> </warning> ``` goes to ```html <div id="someId" class="warning"> <div class="title">My title</div> <p>An admonition block</p> </div> ```
Diffstat (limited to 'linux/make_deb.sh')
0 files changed, 0 insertions, 0 deletions