Provide custom image adapter #442
lucperkins
started this conversation in
Feature requests
Replies: 2 comments 1 reply
-
Sounds good to me — very happy to take such a PR. I'm starting to think about ways to make the renderer more pluggable/overridable in general, rather than with piecewise plugins that target each node type. Assortment of (incompatible) ideas:
Ideally we want composability without sacrificing too much in the way of speed. Let me know if you have any thoughts! |
Beta Was this translation helpful? Give feedback.
1 reply
-
Came here looking for custom plugins as well. My use case is adding support for MkDocs-style |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Akin to issues #253 and #267, I like to provide custom image rendering whenever possible. To give an example, I often like to wrap the image in a
figure
element, display the title as afigcaption
, and make the image clickable. Basically turning this...![My caption)(/img/foo.png)
...as this:
One of many possible use cases, of course, but nice to have. As with #257 and #266 I will submit a PR.
Beta Was this translation helpful? Give feedback.
All reactions