RyotaUshio / obsidian-latex-theorem-equation-referencer

A powerful indexing & referencing system for theorems & equations in your Obsidian vault.
https://ryotaushio.github.io/obsidian-latex-theorem-equation-referencer/
MIT License
165 stars 6 forks source link

Add self-defined Theorem-like environments #215

Open foralan opened 9 months ago

foralan commented 9 months ago

Thank you for building this plugin which really helps!

I wonder if it is possible to add self-defined Theorem-like environments, such as Figure, Table.

Now I changed the profile to implement this but I think this is not proper.

The markdown text looks like this

image

And the rendered result is here

image
RyotaUshio commented 9 months ago

Glad to hear you're enjoying this plugin!

Also thank you a lot for buying me a coffee, it means a lot to me.


This is a great idea. I will add this in a future release!

By the way, can I ask why you'd like to treat figures and tables as theorem callouts, rather than normal image embeds or markdown table? Maybe is it because you want links to be displayed like "Figure 1" or "Table 2"?

foralan commented 9 months ago

By wrapping tables and figures with callouts, I can write captions for them and reference them easily with this plugin.


I donated because this is really a helpful plugin! Thanks a lot for your contribution.