diff options
author | Lila <lila91142@gmail.com> | 2020-05-19 07:45:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-18 22:45:44 -0700 |
commit | f4185fcef0aa5c00e37a1bf8bbc8b8c6459fffe7 (patch) | |
tree | 4a09047038b339afef449f0b2b0591271afe0087 /data | |
parent | 57fa394eb0afbc8368091b9c90e132e29e2b72aa (diff) | |
download | pandoc-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 'data')
-rw-r--r-- | data/templates/styles.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/styles.html b/data/templates/styles.html index 34cd4de89..ea92c39ec 100644 --- a/data/templates/styles.html +++ b/data/templates/styles.html @@ -10,3 +10,6 @@ $endif$ $if(highlighting-css)$ $highlighting-css$ $endif$ +$if(displaymath-css)$ +.display.math{display: block; text-align: center; margin: 0.5rem auto;} +$endif$ |