aboutsummaryrefslogtreecommitdiff
path: root/test/lhs-test.html
diff options
context:
space:
mode:
authorLila <lila91142@gmail.com>2020-05-19 07:45:44 +0200
committerGitHub <noreply@github.com>2020-05-18 22:45:44 -0700
commitf4185fcef0aa5c00e37a1bf8bbc8b8c6459fffe7 (patch)
tree4a09047038b339afef449f0b2b0591271afe0087 /test/lhs-test.html
parent57fa394eb0afbc8368091b9c90e132e29e2b72aa (diff)
downloadpandoc-f4185fcef0aa5c00e37a1bf8bbc8b8c6459fffe7.tar.gz
Use CSS in favor of <br> for display math (#6372)
Some CSS to ensure that display math is displayed centered and on a new line is now included in the default HTML-based templates; this may be overridden if the user wants a different behavior.
Diffstat (limited to 'test/lhs-test.html')
-rw-r--r--test/lhs-test.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lhs-test.html b/test/lhs-test.html
index 8ec8e5dd9..621d79163 100644
--- a/test/lhs-test.html
+++ b/test/lhs-test.html
@@ -74,6 +74,7 @@
code span.va { color: #19177c; } /* Variable */
code span.vs { color: #4070a0; } /* VerbatimString */
code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
+ .display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>