mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
Test Lua filter converting display math to inline math
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
return {
|
||||
{
|
||||
Math = function (elem)
|
||||
if elem.mathtype == "DisplayMath" then
|
||||
elem.mathtype = "InlineMath"
|
||||
end
|
||||
return elem
|
||||
end,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user