Processor name: boxed-text
You can enclose text inside of a box using the following text tag:
../../../verto/tests/assets/boxed-text/doc_example_basic_usage.md
indented
- Ifyes
, the box will have indentation on the left to match indentation of the first level of a list.
The default HTML for button links is:
../../../verto/html-templates/boxed-text.html
Using the example tag above, the resulting HTML would be:
../../../verto/tests/assets/boxed-text/doc_example_basic_usage_expected.html
When overriding the HTML for boxed text, the following Jinja2 placeholders are available:
{{ text }}
- The text enclosed by the boxed text tags.indented
- Set toyes
if the indentation parameter was set toTrue
.
Example
For example, providing the following HTML:
../../../verto/tests/assets/boxed-text/doc_example_override_html_template.html
with the following tag:
../../../verto/tests/assets/boxed-text/doc_example_override_html.md
would result in:
../../../verto/tests/assets/boxed-text/doc_example_override_html_expected.html