diff options
| author | Guillaume Grossetie <ggrossetie@gmail.com> | 2018-04-22 04:53:58 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2018-04-23 23:58:42 -0600 |
| commit | 114bad0091c032b4eb3cc35ed4e6676d79eaa36e (patch) | |
| tree | 64e9fc2e95466042defa94447e1769d40964adc7 /test/fixtures | |
| parent | 2eb43353e801e42fcd571c3b9f9a2b09822179fa (diff) | |
populate source_location on list items if sourcemap is enabled
- set the source_location property on each list item in an item list
- set the source_location property on each list term in a description list
- set the source_location property on each list item in a description list
Diffstat (limited to 'test/fixtures')
| -rw-r--r-- | test/fixtures/lists.adoc | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/test/fixtures/lists.adoc b/test/fixtures/lists.adoc new file mode 100644 index 00000000..324bcd0d --- /dev/null +++ b/test/fixtures/lists.adoc @@ -0,0 +1,96 @@ += Document Title +Doc Writer <thedoc@asciidoctor.org> + +Preamble paragraph. + +NOTE: This is test, only a test. + +== Lists + +.Unordered, basic +* Edgar Allen Poe +* Sheri S. Tepper +* Bill Bryson + +.Unordered, max nesting +* level 1 +** level 2 +*** level 3 +**** level 4 +***** level 5 +* level 1 + +.Checklist +- [*] checked +- [x] also checked +- [ ] not checked +- normal list item + +.Ordered, basic +. Step 1 +. Step 2 +. Step 3 + +.Ordered, nested +. Step 1 +. Step 2 +.. Step 2a +.. Step 2b +. Step 3 + +.Ordered, max nesting +. level 1 +.. level 2 +... level 3 +.... level 4 +..... level 5 +. level 1 + +.Labeled, single-line +first term:: definition of first term +section term:: definition of second term + +.Labeled, multi-line +first term:: +definition of first term +second term:: +definition of second term + +.Q&A +[qanda] +What is Asciidoctor?:: + An implementation of the AsciiDoc processor in Ruby. +What is the answer to the Ultimate Question?:: 42 + +.Mixed +Operating Systems:: + Linux::: + . Fedora + * Desktop + . Ubuntu + * Desktop + * Server + BSD::: + . FreeBSD + . NetBSD + +Cloud Providers:: + PaaS::: + . OpenShift + . CloudBees + IaaS::: + . Amazon EC2 + . Rackspace + +.Unordered, complex +* level 1 +** level 2 +*** level 3 +This is a new line inside an unordered list using {plus} symbol. +We can even force content to start on a separate line... + +Amazing, isn't it? +**** level 4 ++ +The {plus} symbol is on a new line. + +***** level 5 |
