Add test for complex lists for Pandoc output

Remove that caveat from manual -- Doesn't seem to apply much anymore as
the Pandoc output seems to work with Blackfriday in all these tests.
master
Kaushal Modi 8 years ago
parent 00a6794684
commit dd16904e31
  1. 8
      doc/ox-hugo-manual.org
  2. 23
      test/site/content-org/all-posts.org
  3. 25
      test/site/content/posts/citations-example-toml.md

@ -2143,12 +2143,16 @@ another bit of blah with a footnote citation.[fn:1]
{{{test-search(citations)}}}
Also see [[https://pandoc.org/MANUAL.html#citations][Pandoc Manual -- Citations]] for more details.
**** Caveat
How the Pandoc Citations support works is that:
**** How Pandoc Citations work
1. ~ox-hugo~ first exports the Org file/subtree to a Markdown file as
usual.
2. ~pandoc~ then expands the ~@foo~ citations in that file and
*rewrites* the whole Markdown file from the AST parsed by it.
***** COMMENT
/Below caveat shouldn't apply now. Pandoc output seems to be pretty
much Blackfriday-compatiable now -- <2018-07-20 Fri>/
-----
/Mostly/ this would work fine.

@ -4639,6 +4639,29 @@ Text not containing *Markdown*
#+begin_src emacs-lisp
(message "Hello World")
#+end_src
*** Lists Galore
- item1 in list
- item2 in list. The following list is in a separate list body.
- L1 -- foo1
- L1 -- foo2
- L2 -- bar1
- L2 -- bar2
+ L3 -- baz1
+ L3 -- baz2
- L4 -- zoo1
- L4 -- zoo2
1. L5 -- numbered1
2. L5 -- numbered2
- L4 -- zoo1
- L4 -- zoo2
+ L3 -- baz1
+ L3 -- baz2
- L2 -- bar1
- L2 -- bar2
- L1 -- foo1
- L1 -- foo2
** Citations Example (YAML) :yaml:
:PROPERTIES:
:EXPORT_HUGO_FRONT_MATTER_FORMAT: yaml

@ -56,6 +56,31 @@ Some text.
(message "Hello World")
```
## Lists Galore
- item1 in list
- item2 in list. The following list is in a separate list body.
<!--listend-->
- L1 -- foo1
- L1 -- foo2
- L2 -- bar1
- L2 -- bar2
- L3 -- baz1
- L3 -- baz2
- L4 -- zoo1
- L4 -- zoo2
1. L5 -- numbered1
2. L5 -- numbered2
- L4 -- zoo1
- L4 -- zoo2
- L3 -- baz1
- L3 -- baz2
- L2 -- bar1
- L2 -- bar2
- L1 -- foo1
- L1 -- foo2
## References {#references}
<div id="refs" class="references">

Loading…
Cancel
Save