Re: Font-Awesome problem?

Posted by mojavelinux on
URL: https://discuss.asciidoctor.org/Font-Awesome-problem-tp428p431.html

Alex,

Upon a quick glance, I think the problem is the blank line before the icons attribute entry. That's a header attribute, so it must be attached to the header.

(Btw, this was a bug I fixed in the 0.1.4 dev cycle. It was previously being lazy about where to look for this attribute and wasn't enforcing that it be a header attribute...a rule that is complaint with AsciiDoc.)

-Dan

On Aug 5, 2013 5:29 AM, "asotobu [via Asciidoctor :: Discussion]" <[hidden email]> wrote:
Hi, I am not pretty sure if it is a problem or something that I am doing wrong:

Given Asciidoctor 0.1.4.preview.3
Next document:
= Document Title
Doc Writer <[hidden email]>
v1.0, 2013-01-01: Initial version

:icons: font

http://asciidoc.org[AsciiDoc] is a lightweight markup language.

This is the optional preamble (an untitled section body), useful for
writing simple sectionless documents consisting only of a preamble.

NOTE: The abstract, preface, appendix, bibliography, glossary and
index section titles are significant (_specialsections_).

== First section

Document sections start at *level 1* and can nest four levels deep.

* Item 1
* Item 2

NOTE: The abstract, preface, appendix, bibliography, glossary and
index section titles are significant (_specialsections_).

[source,ruby]
puts 'Hello, World!'


and calling asciidoctor with asciidoctor sample-asciidoc.adoc

it renderers correctly the html with paragraph but no icon is shown. I have watched the html code and no link to font-awesome css is found.

I have tried to set linkcss attribute but the problem is not resolved.

Am I missing something?



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Font-Awesome-problem-tp428.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML