markdown-unwrap-imagesUnwraps block level images using markdown-it-block-image The purpose of this extension is to mimic the behavior of rehype-unwrap-images in projects where markdown files will be rendered using the unified markdown toolchain (ie: remark + rehype). Usage ExampleWhen an image would be the only child of a paragraph element (aka a block level image) in Markdown, this plugin will unwrap the image from this paragraph tag. Inline images are left unchanged.
result:
|