Sha256: 7e9bebd5768acaf3c52f5a62feb0b57b184e158597a57182a3997fb7042f1093

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

title: ParagraphWithAttribute
in: |2-
  abc
  {: a="v" b="x y"}
html: |-
  <p a="v" b="x y">abc</p>
---
title: ParagraphWithNonquotedAttribute
in: |2-
  abc
  {: a=v}
html: |-
  <p>abc</p>
  {: a=v}
---
title: EmWithAttribute
in: |2-
  *abc {: a="v"}*
html: |-
  <p><em a="v">abc</em></p>
---
title: BulletListElemWithAttribute
in: |2-
  * a
  * b {: id="bar"}
  * c
html: |-
  <ul>
  <li>a</li>
  <li id="bar">b</li>
  <li>c</li>
  </ul>
---
title: BulletListWithAttribute
in: |2-
  * a
  * b
  * c

  {: class="mylist"}
html: |-
  <ul class="mylist">
  <li>a</li>
  <li>b</li>
  <li>c</li>
  </ul>
---
title: BulletParagraphWithAttribute
in: |2-
  * a
  
  * b {*: id="bar"} 
  
  * c
html: |-
  <ul>
  <li><p>a</p></li>
  <li id="bar"><p>b</p></li>
  <li><p>c</p></li>
  </ul>
---
title: TableRowWithAttribute
in: |2-
  [! one |! two |]
  [| aaa || bbb |] {: class="dark"}
  [| xyz || 123 |]
html: |-
  <table>
  <tr><th>one</th><th>two</th></tr>
  <tr class="dark"><td>aaa</td><td>bbb</td></tr>
  <tr><td>xyz</td><td>123</td></tr>
  </table>
---
title: TableWithAttribute
in: |2-
  [! one |! two |]
  [| aaa || bbb |]
  [| xyz || 123 |]
  
  {: class="sortable"}
html: |-
  <table class="sortable">
  <tr><th>one</th><th>two</th></tr>
  <tr><td>aaa</td><td>bbb</td></tr>
  <tr><td>xyz</td><td>123</td></tr>
  </table>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tartan-0.2.1 test/test-markdown-table-attribute.yml