Provide custom image adapter #442
Closed
lucperkins
started this conversation in
Feature requests
Replies: 3 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! |
1 reply
|
Came here looking for custom plugins as well. My use case is adding support for MkDocs-style |
0 replies
|
A custom image adapter can now be implemented on the user side with |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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
figureelement, 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.
All reactions