Repository navigation
Replies: 2 comments 8 replies
The closest thing I have to custom inline handling is this: https://facelessuser.github.io/pymdown-extensions/extensions/inlinehilite/#custom-inline-blocks. I don't think this would apply well to image captions though. |
|
A brief update on this topic in case it is useful to someone. I've created 
/// caption | .shadow : This is a captionWill be transformed to 
/// caption | .shadow
This is a caption
///To overcome the limitation where the default delimiter ( Example: Becomes Any feedback is welcome! |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I've been using a lot the new block caption extensions and I love it. However, I think the block syntax could be simplified by having an "inline" syntax.
From squidfunk/mkdocs-material#7654:
Right now, captions are written with the following syntax:
With inline syntax, could become:
This is just a consideration about the block syntax and an idea of how it could be improved. I know "inline" syntax would increase complexity a lot.
All reactions