Skip to content

Commit

Permalink
Update table caption test with emphasis characters
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalmodi committed Dec 23, 2017
1 parent 69fc62c commit fe2be15
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions test/site/content-org/all-posts.org
Expand Up @@ -527,21 +527,24 @@ You should see *no* table exported above.
:PROPERTIES:
:EXPORT_FILE_NAME: table-caption
:END:
The caption can contain be emphasized using the usual markup
characters too.

#+CAPTION: Awesome table
| h1 | h2 | h3 |
|-----+-----+-----|
| abc | def | ghi |

Some text.

#+CAPTION: Another awesome table
#+CAPTION: /Another/ *awesome* table
| h1 | h2 | h3 |
|-----+-----+-----|
| jkl | mno | pqr |

Some more text.

#+CAPTION: Third table
#+CAPTION: _Third_ table
| h1 | h2 | h3 |
|-----+-----+----|
| stu | vwx | yz |
Expand Down
7 changes: 5 additions & 2 deletions test/site/content/posts/table-caption.md
Expand Up @@ -4,6 +4,9 @@ tags = ["table", "caption"]
draft = false
+++

The caption can contain be emphasized using the usual markup
characters too.

<caption class="table-caption">
<span class="table-number">Table 1:</span>
Awesome table
Expand All @@ -17,7 +20,7 @@ Some text.

<caption class="table-caption">
<span class="table-number">Table 2:</span>
Another awesome table
_Another_ **awesome** table
</caption>

| h1 | h2 | h3 |
Expand All @@ -28,7 +31,7 @@ Some more text.

<caption class="table-caption">
<span class="table-number">Table 3:</span>
Third table
<span class="underline">Third</span> table
</caption>

| h1 | h2 | h3 |
Expand Down

0 comments on commit fe2be15

Please sign in to comment.