tobiasah / mkdocs-caption

MkDocs plugin to add captions and easy element numbering
MIT License
3 stars 2 forks source link

Cross reference numbering doesn't work as expected #19

Open sinaatalay opened 1 week ago

sinaatalay commented 1 week ago

Firstly, thank you very much for the project.

I have a small error. Here is a sample Markdown to reproduce it:

This should be Figure 2: [](#test2) (but it's Figure 1).

![this is a caption](test.png){#test}

![this is a caption](test.png){#test2}

image

tobiasah commented 1 week ago

thanks for reporting this. Its a bug I introduced with the latest change.

I fixed it with #20 . Can you check if this fixes the problem? (By installing python package directly from the branch tobiasa/19)

sinaatalay commented 6 days ago

Thank you! I tested it, it's working.