fix: centering block math
Created by: naskya
Similar to inlineCode
and blockCode
, MFM provides two types of formula syntax, mathInline
and mathBlock
(I'm curious why these aren't called inlineMath
/blockMath
, but oh well)
Other platforms, like GitHub, Mathtodon, my blog, etc., also support these two types of formula representation, and math blocks are centered on (maybe) all such platforms.
But Calckey (Misskey v12) doesn't center math blocks. I'd say this is a bug, and this makes blockMath
useless (it's just inlineMath
in a new line).
So I fixed this.