#50 added Lua filter for german quoation marks with to babel / csquotes
This commit is contained in:
6
templates/germanquotes.lua
Normal file
6
templates/germanquotes.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
-- see https://github.com/jgm/pandoc/issues/5470#issuecomment-489158514
|
||||
function Quoted(el)
|
||||
if el.quotetype == 'DoubleQuote' then
|
||||
return {pandoc.Str("„"), pandoc.Span(el.content), pandoc.Str("“")}
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user