Skip to content

Instantly share code, notes, and snippets.

@ntfc
Last active January 28, 2016 22:32
Show Gist options
  • Select an option

  • Save ntfc/16ebf7f85a6946a8c13b to your computer and use it in GitHub Desktop.

Select an option

Save ntfc/16ebf7f85a6946a8c13b to your computer and use it in GitHub Desktop.

Revisions

  1. ntfc revised this gist Jan 28, 2016. No changes.
  2. ntfc created this gist Jan 28, 2016.
    51 changes: 51 additions & 0 deletions index.adoc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,51 @@
    = Issue with asciidoctor-maven-plugin
    ntfc
    :doctype: book
    :toc: left

    = Issue

    == Chapter

    [cols="2"]
    |===

    a|This cell is prefixed with an +a+ so the following list is rendered with the AsciiDoc list element styles.

    * List item 1
    * List item 2
    * List item 3
    |This cell *is not* prefixed with an +a+ so the following list is not rendered with the AsciiDoc list element styles.

    * List item 1
    * List item 2
    * List item 3

    a|This cell is prefixed with an +a+ so the following paragraph is rendered with the +lead+ style.

    [.lead]
    I am a paragraph styled with the lead attribute.
    |This cell *is not* prefixed with an +a+ so the following paragraph is not rendered with the +lead+ style.

    [.lead]
    I am a paragraph styled with the lead attribute.

    |===

    |===
    |Source Code 1 |Source Code 2

    a|
    [source,python]
    ----
    import os
    print "%s" %(os.uname())
    ----

    a|
    [source,python]
    ----
    import os
    print ("%s" %(os.uname()))
    ----
    |===