aboutsummaryrefslogtreecommitdiff
path: root/data/sample.lua
AgeCommit message (Collapse)AuthorFilesLines
2016-06-20Implement RawInline and RawBlock in sample lua custom writer.John MacFarlane1-0/+12
Closes #2985.
2016-02-05Custom writer: Pass attributes parameter to CaptionedImage.John MacFarlane1-1/+1
Closes #2697.
2015-12-11Implemented SoftBreak and new `--wrap` option.John MacFarlane1-2/+6
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 MacFarlane1-1/+7
Cloess #2393.
2014-07-16Custom writers now work with `--template`.John MacFarlane1-19/+4
Removed HTML header scaffolding from data/sample.lua.
2014-07-16Made Citation information available in lua custom writer.John MacFarlane1-2/+7
2013-12-13Added Cite function to sample.lua.John MacFarlane1-0/+4
2013-08-08Preliminary support for new Div and Span elements in writers.John MacFarlane1-0/+8
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 MacFarlane1-5/+5
2013-06-27Custom writer: Pass full metadata, not just tit/auth/date.John MacFarlane1-7/+7
2013-04-14Added `Text.Pandoc.Writers.Custom`, `--print-custom-lua-writer`.John MacFarlane1-0/+312
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.