You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To my understanding, before the migration to tailwind centered text was generated using the centered-markdown className applied here. This class no longer has an associated style loaded so the centering isn't happening.
I think people are also saying that all headings were centered previously. I do not know if we want this, markdown classically does not center headings by default.
The simple fix for this is probably to apply the text-align tailwind class instead of the deprecated centered-markdown. And then if users want their headings centered they can use the >>> syntax.
This seems like a pretty simple fix, but just in case it requires any non-trivial involvement with the Markdown parser code, I tried to document that part pretty extensively (and I'm always available for consult if something is unclear).
To my understanding, before the migration to tailwind centered text was generated using the
centered-markdown
className applied here. This class no longer has an associated style loaded so the centering isn't happening.I think people are also saying that all headings were centered previously. I do not know if we want this, markdown classically does not center headings by default.
The simple fix for this is probably to apply the
text-align
tailwind class instead of the deprecatedcentered-markdown
. And then if users want their headings centered they can use the>>>
syntax.relevant discord thread
The text was updated successfully, but these errors were encountered: