Global Feed Post Login
Replying to Avatar Victor Stabile

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.

Avatar
il_lost_ 6mo ago

Why do you need it? Why don't you put it in code ''' '''?

Reply to this note

Please Login to reply.

Discussion

Avatar
Victor Stabile 6mo ago

I needed it to render the mathematical formulas, so I followed the same conventions as Obsidian that works fine for me.

Avatar
il_lost_ 6mo ago

you can probably do this, and it might work

Pij

Pij⁄2-Pij⁄2

a2

Thread collapsed
Thread collapsed