Closed ronligt closed 3 months ago
that is a cool idea... Need to see how It can be done within the mkdocs processor.
in the meantime I guess you can just use HTML syntax in the caption
😇 I tried a bit around and came up with the proposal in #16 . Would you mind trying it out before I merge it? Maybe you can give me some feedback if the change works as you had in mind.
That's fantastic news! I would love to try out this new version. How can I do that?
I'm able to pull the branch from #16, but I'm not sure how to use the package src/mkdocs_caption
in my mkdocs.yml
no need to manually clone, you can simply use pip to install the package directly form a branch.
pip install git+https://github.com/tobiasah/mkdocs-caption.git@markdown_syntax_in_caption
I'm a very happy user of this plugin!
Would it also be possible to use markdown format in the caption?
Now when I try:
It will show the image with this caption below it: "Figure 1: Test" and nothing more. Where I was hoping to see: "Figure 1: Test bold text"