Re: Upgraded to 0.1.4, now stylesheets broken (noob)

Posted by matthewadams12 on
URL: https://discuss.asciidoctor.org/Upgraded-to-0-1-4-now-stylesheets-broken-noob-tp638p642.html

Cool, thanks!


On Mon, Sep 23, 2013 at 2:17 PM, mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Matthew,

I'm glad you brought this up. One of the changes in 0.1.4 is that stylesheets are embedded by default instead of linked. To link instead, simply pass this attribute:

-a linkcss

That will make Asciidoctor match the behavior of 0.1.3.

Cheers,

-Dan


On Mon, Sep 23, 2013 at 11:24 AM, matthewadams12 [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Answered my own question:
asciidoctor -v -b html5 -D target/html5//cookbook -a stylesheet=src/main/stylesheets/riak.css src/main/asciidoc/cookbook/index.adoc
Pointing the stylesheet attribute at the stylesheet source caused it to be embedded.  I'll have to decide if I want all generated html files to link to a shared stylesheet or not later on.

Sorry for the noise, if any.

-matthew


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Upgraded-to-0-1-4-now-stylesheets-broken-noob-tp638p640.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Upgraded-to-0-1-4-now-stylesheets-broken-noob-tp638p641.html
To unsubscribe from Upgraded to 0.1.4, now stylesheets broken (noob), click here.
NAML



--
[hidden email] 
skype:matthewadams12
[hidden email]
http://matthewadams.me
http://www.linkedin.com/in/matthewadams