diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2020-06-25 23:50:45 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2020-06-26 01:37:38 -0600 |
| commit | 3a6a050c3c63324e8d14b235f75ad7864e39e062 (patch) | |
| tree | 45c851fd6f71c436fcc9707c503eb19e5727eb9d /spec/admonition_spec.rb | |
| parent | 527e76e2ac0fa4e46bbc7d73290c55f02a344269 (diff) | |
add test for icontype attribute to control file extension of admonition image
Diffstat (limited to 'spec/admonition_spec.rb')
| -rw-r--r-- | spec/admonition_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/admonition_spec.rb b/spec/admonition_spec.rb index 3f45db86..84fa9de8 100644 --- a/spec/admonition_spec.rb +++ b/spec/admonition_spec.rb @@ -416,8 +416,9 @@ describe 'Asciidoctor::PDF::Converter - Admonition' do to_file = to_pdf_file <<~'EOS', 'admonition-custom-svg-icon.pdf', attribute_overrides: { 'docdir' => fixtures_dir } :icons: font :iconsdir: + :icontype: svg - [TIP,icon=square.svg] + [TIP,icon=square] ==== Use the icon attribute to customize the image for an admonition block. ==== |
