From 422b861edce01e7cd60980dfabf15669a656b539 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 23 Oct 2016 20:00:07 +0200 Subject: Handle line blocks in sample.lua custom lua writer. --- data/sample.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/data/sample.lua b/data/sample.lua index 0c07b632a..e23154a96 100644 --- a/data/sample.lua +++ b/data/sample.lua @@ -206,6 +206,11 @@ function HorizontalRule() return "
" end +function LineBlock(ls) + return '
' .. table.concat(ls, '\n') .. + '
' +end + function CodeBlock(s, attr) -- If code block has class 'dot', pipe the contents through dot -- and base64, and include the base64-encoded png as a data: URL. -- cgit v1.2.3