Latex Markdown Codeblock

Similar to how mermaid rendering works by having a codeblock with type mermaid (https://forum.obsidian.md/t/obsidian-release-v0-7-6/2781), thoughts on augmenting the existing latex support by having latex render when it’s in a codeblock with type latex?

Basically, if we have:

```latex
2 + 2
```

It would render the same as

$$ 2 + 2 $$

I personally stopped using $ tags because of occasional syntax parsing confusion when I was trying to actually use a dollar sign in a file I was writing, and this seems like it might be a nice way to encourage less syntax complexity.

4 Likes

moved to plugins ideas