aboutsummaryrefslogtreecommitdiff
path: root/data/sample.lua
AgeCommit message (Collapse)Author
2017-12-27data/sample.lua: use `next` instead of for loopAlbert Krewinkel
Each definition list item contains just a single key and the associated value. Using `next` to get the key/value pair is more idiomatic than iterating over the single-element table.
2017-12-27Removed extra comment.John MacFarlane
2017-12-27Revert "data/sample.lua: Fixed problem with definition lists."John MacFarlane
This reverts commit 0e3736422ee97a5cfedc255705f566a319f954f9 in favor of @tarleb's fix.
2017-12-27data/sample.lua: fixed problem with tables.John MacFarlane
Closes #4202.
2017-12-27data/sample.lua: Fixed problem with definition lists.John MacFarlane
2017-01-18Fix sample.lua barfing on Raw data (#3358)bumper314
* Fix for "pandoc: user error (Incorrect result type (string expected, got nil))." when the source format contains Raw data. * Update sample.lua
2016-10-23Handle line blocks in sample.lua custom lua writer.John MacFarlane
2016-06-20Implement RawInline and RawBlock in sample lua custom writer.John MacFarlane
Closes #2985.
2016-02-05Custom writer: Pass attributes parameter to CaptionedImage.John MacFarlane
Closes #2697.
2015-12-11Implemented SoftBreak and new `--wrap` option.John MacFarlane
Added threefold wrapping option. * Command line option: deprecated `--no-wrap`, added `--wrap=[auto|none|preserve]` * Added WrapOption, exported from Text.Pandoc.Options * Changed type of writerWrapText in WriterOptions from Bool to WrapOption. * Modified Text.Pandoc.Shared functions for SoftBreak. * Supported SoftBreak in writers. * Updated tests. * Updated README. Closes #1701.
2015-09-15sample.lua - define CaptionedImage, add newline at end.John MacFarlane
Cloess #2393.
2014-07-16Custom writers now work with `--template`.John MacFarlane
Removed HTML header scaffolding from data/sample.lua.
2014-07-16Made Citation information available in lua custom writer.John MacFarlane
2013-12-13Added Cite function to sample.lua.John MacFarlane
2013-08-08Preliminary support for new Div and Span elements in writers.John MacFarlane
Currently these are "transparent" containers, except in HTML, where they produce div and span elements with attributes.
2013-07-14Updated sample.lua for new metadata.John MacFarlane
2013-06-27Custom writer: Pass full metadata, not just tit/auth/date.John MacFarlane
2013-04-14Added `Text.Pandoc.Writers.Custom`, `--print-custom-lua-writer`.John MacFarlane
pandoc -t data/sample.lua will load the script sample.lua and use it as a custom writer. data/sample.lua is provided as an example. Added `--print-custom-lua-writer` option to print the sample script.