Replies: 2 comments 4 replies
-
The margin is defined here: Line 642 in 023cc03 Can you override this CSS rule? I'm not sure exactly in what context you're using KaTeX -- GitHub Pages? |
Beta Was this translation helpful? Give feedback.
3 replies
-
The display margin rule is the least-specific rule ( |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using KaTeX on GitHub, the top-margin on display math is too large:
That's because GitHub already applies a margin of 16 at the end of each paragraph. Reducing the top margin to 0 fixes things:
Is this adjustable as KaTeX option?
Beta Was this translation helpful? Give feedback.
All reactions