diff options
Diffstat (limited to 'docs/modules/extend/pages/use-cases.adoc')
| -rw-r--r-- | docs/modules/extend/pages/use-cases.adoc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/modules/extend/pages/use-cases.adoc b/docs/modules/extend/pages/use-cases.adoc index bd98aafa..5efd7f48 100644 --- a/docs/modules/extend/pages/use-cases.adoc +++ b/docs/modules/extend/pages/use-cases.adoc @@ -152,6 +152,24 @@ Then, you can add this number in the left margin at the start of each paragraph include::example$pdf-converter-numbered-paragraphs.rb[] ---- +== Change bars + +If you have a preprocessor that adds change metadata to the content, you can use an extended converter to draw change bars to add a visual indicator in the rendered output. + +.Extended converter with change bars +[,ruby] +---- +include::example$pdf-converter-change-bars.rb[] +---- + +This converter will look for paragraphs like this one: + +[,asciidoc] +---- +[.changed] +This line has been changed. +---- + == Avoid break after heading This functionality is already provided by the converter if you set the `breakable` option on section title or discrete heading. |
