Add inline image support to svg
macro; attempt feature parity with built-in image:
and image::
macros
#143
Labels
svg
macro; attempt feature parity with built-in image:
and image::
macros
#143
Note: The goal of this ticket is to allow the
svg
macro to be used for inline images. This is not to be confused with theopts=inline
SVG attribute, which thesvg
macro already uses by default.The
svg
macro syntax currently supports inline usage (svg:
) and block usage (svg::
). However, it appears that the macro only truly supports block images. This limits the macro's versatility and causes confusion for writers when the inline usage produces unexpected results.Inline image support
There are cases where we'd like to be able to use the macro for inline images. For example, to achieve a table that looks like the following:
You would expect the syntax to look like this:
However, because the macro generates a block image, the inline text gets bumped down into a new paragraph below the icon:
Feature parity with built-in
image::
andimage:
macrosIt would be ideal if the
svg:
andsvg::
macro usages mirrored theirimage:
andimage::
counterparts in terms of their supported attributes and values.The text was updated successfully, but these errors were encountered: