aboutsummaryrefslogtreecommitdiff
path: root/test/vimwiki-reader.native
AgeCommit message (Collapse)AuthorFilesLines
2020-04-15Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessorsdespresc1-68/+68
2020-04-15Adapt to the newest Table type, fix some previous adaptation issuesdespresc1-144/+183
- Writers.Native is now adapted to the new Table type. - Inline captions should now be conditionally wrapped in a Plain, not a Para block. - The toLegacyTable function now lives in Writers.Shared.
2020-04-15Implement the new Table typedespresc1-68/+165
2020-04-06Vimwiki reader: Add nested syntax highlighting (#6257)Vlad Hanciuta1-0/+2
Nested syntaxes are specified like this: {{{sql SELECT * FROM table }}} The preformatted code block parser has been extended to check if the first attribute of the block is not a `key=value` pair, and in that case it will be considered as a class. Closes #6256.
2019-04-05Vimwiki reader: improve handling of internal links.John MacFarlane1-8/+8
1) Don't append `.html` 2) Add `wikilink` title This mirrors behavior of other wiki readers. Generally the `.html` extension is not wanted. It may be important for output to HTML in certain circumstances, but it can always be added using a filter that matches on links with title `wikilink`. Note that if you have a workflow that uses pandoc to convert vimwiki to readable HTML pages, you may need to add such a filter to reproduce current behavior. Here is a filter that does the job: ```lua function Link(el) if el.title == 'wikilink' then el.target = el.target .. ".html" end return el end ``` Save this as `fixlinks.lua` and use with `--lua-filter fixlinks.lua`. Closes #5414.
2018-10-24Vimwiki reader: test empty preformatted textAlexander Krotov1-0/+2
2017-07-12Fixed #3760. (#3784)Yuchen Pei1-4/+8
Using the same solution as in the LaTeX reader: equation -> displaymath align -> displaymath \begin{aligned} ... \end{aligned} etc..
2017-06-19Added Vimwiki reader (#3705).Yuchen Pei1-0/+305
* New module Text.Pandoc.Readers.Vimwiki, exporting readVimwiki [API change]. * New input format `vimwiki`. * New data file, `data/vimwiki.css`, for displaying the HTML produced by this reader and pandoc's HTML writer in the style of vimwiki's own HTML export.