Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
33 posts
|
when translating a bunch of adoc's from a folder into the target folder, we typically let asciidoctor do it's thing and gen nice html header and trailer bits. but some of my adocs in the same folder must NOT have those bits as they are themed with the client's logo/colors, etc.
is there a flag i can set WITHIN an .adoc to supress the html header/trailer generation ? thx jim |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
2681 posts
|
Yes. You can set the following two attributes: :noheader: :nofooter: It cuts out the banners in the header and footer. Note that this is different from the header_footer option, which controls whether to output a full HTML document (when true) or just embeddable HTML (when false).
Cheers, -Dan On Sat, Mar 22, 2014 at 6:51 AM, jnorthr [via Asciidoctor :: Discussion] <[hidden email]> wrote: when translating a bunch of adoc's from a folder into the target folder, we typically let asciidoctor do it's thing and gen nice html header and trailer bits. but some of my adocs in the same folder must NOT have those bits as they are themed with the client's logo/colors, etc. Dan Allen | http://google.com/profiles/dan.j.allen |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
33 posts
|
most excellent ! many thx
jim On 18/06/14 09:14, mojavelinux [via
Asciidoctor :: Discussion] wrote:
... [show rest of quote]
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
33 posts
|
In reply to this post by mojavelinux
thank you for that - i think it was just what the doctor ordered :-)
On Jun 18, 2014, at 9:14 AM, mojavelinux [via Asciidoctor :: Discussion] wrote:
... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
33 posts
|
In reply to this post by mojavelinux
have been looking for this document-level flag named
header_footer have tried things like :header_footer: :header_footer: false does this flag do the same thing as: :noheader: :nofooter: ? thx |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
2681 posts
|
The noheader & nofooter attributes disable the banners at the top & bottom of the page. The header_footer option (on by default in the cli, turned off using -s) switches between a full HTML document (on) and embeddable HTML, body content only (off). The header_footer option is really misnamed. It should be named embedded (or embeddable), since it's really controlling whether the content is put in an HTML document envelope or not. I hope that clears it up. What output are you trying to achieve? -Dan On Aug 25, 2014 3:43 PM, "jnorthr [via Asciidoctor :: Discussion]" <[hidden email]> wrote:
have been looking for this document-level flag named ... [show rest of quote] |
Free forum by Nabble | Edit this page |