diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2018-04-24 22:29:09 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-24 22:29:09 -0600 |
| commit | cd0f10d708c37b0deaf2f23140ab7bcbb5d71c08 (patch) | |
| tree | dbfc5459da499a65fad57885faa965404faf77ec /test/fixtures | |
| parent | 3fc6666626741c3b8fb474a1b052a723ca3ca28c (diff) | |
resolves #2705 populate source_location property on cell when sourcemap option enabled (PR #2708)
- add source_location property to Table::Cell
- add file and lineno methods to Table::Cell
- when sourcemap option is enabled, set source_location property on cell
- mark first line of table so line number for first cell is correct
- add tests to verify source_location information on table cell is correct
Diffstat (limited to 'test/fixtures')
| -rw-r--r-- | test/fixtures/sample.asciidoc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/fixtures/sample.asciidoc b/test/fixtures/sample.asciidoc index 0b8061ee..d02e64ff 100644 --- a/test/fixtures/sample.asciidoc +++ b/test/fixtures/sample.asciidoc @@ -19,8 +19,12 @@ NOTE: This is test, only a test. *Section B* paragraph. +|=== +|a |b |c +|1 |2 |3 +|=== + .Section B list * Item 1 * Item 2 * Item 3 - |
