Skip to content

Commit

Permalink
fix small typos on extended converter use cases page (PR #2462)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunchboy authored and mojavelinux committed Nov 24, 2023
1 parent c9015e5 commit cb6f612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/modules/extend/pages/use-cases.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,9 @@ Asciidoctor PDF provides basic support for image floats.
It will wrap paragraph text on the opposing side of the float.
However, if it encounters a non-paragraph, the converter will clear the float and continue positioning content below the image.

As a companion to this basics support, the converter provides a framework for broadening support for float wrapping.
As a companion to this basic support, the converter provides a framework for broadening support for float wrapping.
We can take advantage of this framework in an extended converter.
By extending the converter and overriding the `supports_float_wrapping?` as well as the convert handler for the block you want to enlist (e.g., `convert_code`), you can arrange additional content into the empty space adjacent to the floated image.
By extending the converter and overriding the `supports_float_wrapping?` method as well as the convert handler for the block you want to enlist (e.g., `convert_code`), you can arrange additional content into the empty space adjacent to the floated image.
In the following example, code (listing and literal) blocks are included in the float wrapping.

.Extended converter that additionally wraps code blocks around an image float
Expand Down

0 comments on commit cb6f612

Please sign in to comment.