Open 7Ds7 opened 4 years ago
@7Ds7 Sorry. I think I missed your issue while organizing the issue.. 😭 Anyway, for now, as stated in #1066, the plugin needs to be added, but it can fix the problem. We are talking about the custom plugin and will share them again when they are organized.
Summary
The end goal is the ability to add image size with markdown and compile it with the proper html like #160 either with
=100x100
or additional attributes like{width: 200px height: 100px}
. First attempts to change the regex for image node were unsuccessful, so were the attempts like #1066 to extend the renderer.My current approach is to replace the convertor with customConvertor that accepts such attributes, but i can not find any working example in which that option is used, is it possible to provide one example with another convertor?
Not sure if this is the proper way to reach the goal, and if not, a hint in the right direction would be appreciated.
Version
v2.2.0