For simple stuff it works well, but I am sure I could break it trying some more complex stuff. For example I just implemented $ and $$ for marking latex content, avoiding \(\) and \[\] for simplicity. Also, most of the markdown+latex component that renders the text was single prompted and I think I may have used 3 more prompts or so to fix some edge cases. I can see why people are resistant to adding it to the NIP or implementing on their clients, but I really needed this feature and just vibe hacked it.
Why do you need it? Why don't you put it in code ''' '''?
Please Login to reply.
I needed it to render the mathematical formulas, so I followed the same conventions as Obsidian that works fine for me.
you can probably do this, and it might work
Pij
Pij⁄2-Pij⁄2
a2