mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-26 02:06:32 +00:00
Pass ReaderOptions to custom readers as second parameter.
This commit is contained in:
+1
-1
@@ -82,6 +82,6 @@ G = P{ "Pandoc",
|
||||
Special = S"`\\" / pandoc.Str;
|
||||
}
|
||||
|
||||
function Reader(input)
|
||||
function Reader(input, opts)
|
||||
return lpeg.match(G, input)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user