Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add self-defined Theorem-like environments #215

Open
foralan opened this issue Dec 20, 2023 · 2 comments
Open

Add self-defined Theorem-like environments #215

foralan opened this issue Dec 20, 2023 · 2 comments

Comments

@foralan
Copy link

foralan commented Dec 20, 2023

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
Copy link
Owner

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
Copy link
Author

foralan commented Dec 21, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants