tobiasah / mkdocs-caption

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

Allow caption elements within indented blocks (e.g. admonitions) #8

Closed tobiasah closed 7 months ago

tobiasah commented 7 months ago

This commit adds a new option allow_indented_caption to the config. If enabled (default) caption elements are also parsed if they are indented. This is necessary to allow captions within admonitions.

Fixes #6