rudeshark.net/packages/client/src
naskya 6cfb83660f fix: centering block math (#9946)
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, **Math**todon, my blog, etc., also support these two types of formula representation, and math blocks are centered on (maybe) all such platforms.

![](https://cdn.discordapp.com/attachments/823878222897741868/1101837026304720997/2023-04-29_201943.png)

But Calckey (Misskey v12) don't center math blocks. I'd say this is a bug, and this makes `blockMath` useless (it's just `inlineMath` in a new line).

![](https://cdn.discordapp.com/attachments/823878222897741868/1101837026027917342/2023-04-29_202008.png)

So I fixed this.

![](https://cdn.discordapp.com/attachments/823878222897741868/1101837183574355978/2023-04-29_202854.png)

Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9946
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-29 14:01:24 +00:00
..
components fix: centering block math (#9946) 2023-04-29 14:01:24 +00:00
directives typo 2023-01-12 22:17:18 -08:00
filters refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
pages Merge pull request 'Fix dot menu in welcome page' (#9939) from esm/calckey:develop into develop 2023-04-28 21:46:29 +00:00
scripts chore: formatting 2023-04-22 17:22:53 -07:00
themes theme names 2023-03-19 18:49:25 -07:00
types chore: 🎨 format 2023-04-01 21:10:31 -07:00
ui super minor styling stuff (#9918) 2023-04-26 20:03:32 +00:00
widgets chore: more rpine for server activity widget 2023-04-26 15:10:33 -07:00
account.ts icons 2023-03-11 13:01:04 -08:00
config.ts clean up w/ rome 2023-01-16 11:19:20 -08:00
const.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
emojilist.json chore: add emoji aliases 2023-03-20 00:37:49 +01:00
events.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
i18n.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
init.ts fix? 2023-03-11 13:07:51 -08:00
instance.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
navbar.ts feat: help menu in navbar 2023-04-01 11:56:43 -07:00
nirax.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
os.ts fix: dialogs not coming up 2023-04-02 00:07:48 -07:00
pizzax.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
plugin.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
router.ts feat: frontend interface for post-account creation email verification 2023-04-26 19:44:38 -07:00
store.ts feat: make it toggleable whether to disable emojis in notifications (#9880) 2023-04-20 07:57:36 +00:00
stream.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
style.scss super minor styling stuff (#9918) 2023-04-26 20:03:32 +00:00
theme-store.ts refactor: 🎨 rome 2023-01-12 20:40:33 -08:00