Skip to content

Commit

Permalink
document implicit attributes in README
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Jun 21, 2016
1 parent 60b716c commit c1a3dac
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,22 @@ asciidoc:

=== Asciidoctor

You can pass additional attributes to AsciiDoc, or override default attributes defined by the plugin, by using the `attributes` option of the `asciidoctor` block in your {path-config}.
The following implicit AsciiDoc attributes are automatically defined for each page:

....
env=site
env-site
site-gen=jekyll
site-gen-jekyll
builder=jekyll
builder-jekyll
jekyll-version=(value of the Jekyll::VERSION constant)
idprefix
idseparator=-
linkattrs
....

You can pass additional attributes to AsciiDoc, or override default attributes provided by the plugin, by using the `attributes` option of the `asciidoctor` block in your {path-config}.
The value of this option can either be an Array containing key-value pairs:

[source,yaml]
Expand Down

0 comments on commit c1a3dac

Please sign in to comment.