Add support for math block

I’m using gitlab which has its own flavor of markdown (GLFM).

in GLFM math fencing is not supported but rather math blocks (like a code block but with math as the language).

as such readme files written in obsidian that include math notations are not displayed properly in the site for the rest of my team.

can you please add support for math blocks and make it behave the same way as math fencing does (using $$) ?

there is currently 1 extension called “Obsidian Math+” that adds a math code block, but the extension uses this block as it sees fit. I want Obsidian to think that a math block = math fence, since this way all additional math extensions and native latex support would work with it as well.

1 Like

Gitlab is moving towards using $$ as the default. There is a feature flag markdown_dollar_math which should enable it.