|
Hello
I am a beginner in asciidoc and just tried two ways running asciidoctor ,
as command prompt and with ruby.
First I tried:
>
> cat -e minimal.adoc
= test$
:icons: $
:iconsdir: /usr/local/Cellar/asciidoc/8.6.9/etc/asciidoc/images/icons $
$
IMPORTANT: foo~
>
>asciidoctor minimal.adoc
>
I get the expected result, the Icon 'important.png' is rendered korrectly.
However, when I try the same with ruby,
'IMPORTANT: foo' renders as 'Important foo ':
>
> cat -e convert.rb
require 'asciidoctor'$
require 'asciidoctor/extensions'$
$
Asciidoctor.convert_file 'minimal.adoc'~
>
> ruby convert.rb
>
I wonder whether this is hints to a corrupt installation or whether I got something fundamentally wrong.
Thank you
Mark
|