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

Separate numbering for different callout categories #220

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

artemyfmv
Copy link

No description provided.

I've changed the manifest title to test plugin in my home environment.
@math-feng
Copy link

How should I use it, please?

@artemyfmv
Copy link
Author

@math-feng, you can just use my fork, if you really need this feature.

@math-feng
Copy link

https://github.com/artemyfmv/obsidian-latex-theorem-equation-referencer

Is this it? How do I put it to use in Obsidian?

@RyotaUshio
Copy link
Owner

Hi, I'm sorry for the long silence. Thank you so much for the pull request!

Your current approach works in Live preview, but not in reading view. To make it work in reading view, you need to modify this method as well:

public updateNames(file: TFile) {

Plus, it is desirable to make this behavior optional, i.e. each user should be able to choose whether to number callouts by type.

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

Successfully merging this pull request may close these issues.

3 participants