See here for primary reference
Try:
$ pandoc -t native
| table |
|-------|
#!/usr/bin/env perl | |
use 5.014; | |
# use utf8; | |
use utf8::all; | |
use strict; | |
use warnings; | |
use warnings FATAL => 'utf8'; | |
use autodie; |
--[[ | |
Add support for a custom inline syntax. | |
This pandoc Lua filter allows to add a custom markup syntax | |
extension. It is designed to be adjustable; it should not be | |
necessary to modify the code below the separator line. | |
The example here allows to add highlighted text by enclosing the | |
text with `==` on each side. Pandoc supports this for HTML output | |
out of the box. Other outputs will need additional filters. |
-- This is a sample custom writer for pandoc, using Layout to | |
-- produce nicely wrapped output. | |
local layout = pandoc.layout | |
local text = pandoc.text | |
local type = pandoc.utils.type | |
local l = layout.literal | |
-- Table to store footnotes, so they can be included at the end. |
--[==============================[ | |
# attr-color.lua | |
A Pandoc filter which sets LaTeX text/background/frame color(s) on | |
Span and Div elements based on Pandoc attributes. | |
## Usage | |
See https://git.io/JI4yA |
Try:
$ pandoc -t native
| table |
|-------|
local lpeg = require"lpeg" | |
local C, P, R, S, V = lpeg.C, lpeg.P, lpeg.R, lpeg.S, lpeg.V | |
local white = S(" \t") ^ 0 | |
local digit = R("09") | |
local dot = P(".") | |
local eE = S("eE") | |
local sign = S("+-")^-1 | |
local mantissa = digit^1 * dot * digit^0 + dot * digit^1 + digit^1 |
#!/usr/bin/env perl | |
# version 0.4 | |
use utf8; | |
use autodie 2.29; | |
use 5.010001; | |
use strict; | |
use warnings; | |
use warnings qw(FATAL utf8); |
Based on https://www.gnu.org/software/make/manual/html_node/Quick-Reference.html
Directive | Description |
---|---|
define variable define variable = define variable := define variable ::= define variable += define variable ?= endef |
Define multi-line variables. |
undefine variable |
Undefining variables. |