This website requires JavaScript.
Explore
Help
Sign in
Tissevert
/
pandoc
Watch
1
Star
0
Fork
You've already forked pandoc
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
1
8614902234
pandoc
/
test
/
lua
/
single-to-double-quoted.lua
9 lines
118 B
Lua
Raw
Normal View
History
Unescape
Escape
Lua filter: allow shorthand functions for math and quoted Allow to use functions named `SingleQuoted`, `DoubleQuoted`, `DisplayMath`, and `InlineMath` in filters.
2017-04-14 23:24:52 +02:00
return
{
{
Lua filter: revert to non-destructuring filters We want to provide an interface familiar to users of other filtering libraries.
2017-04-15 21:40:48 +02:00
SingleQuoted
=
function
(
elem
)
elem.quotetype
=
"
DoubleQuote
"
return
elem
Lua filter: allow shorthand functions for math and quoted Allow to use functions named `SingleQuoted`, `DoubleQuoted`, `DisplayMath`, and `InlineMath` in filters.
2017-04-14 23:24:52 +02:00
end
,
}
}
Reference in a new issue
Copy permalink