We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb587ad commit ec423b8Copy full SHA for ec423b8
docs/soar_manual/debug_filter.lua
@@ -0,0 +1,20 @@
1
+-- Debug filter to see what Pandoc is actually processing
2
+
3
+function debug_all(elem)
4
+ if elem.tag == "RawInline" or elem.tag == "RawBlock" then
5
+ io.stderr:write("Found " .. elem.tag .. " with format: " .. (elem.format or "nil") .. " and text: " .. (elem.text or "nil") .. "\n")
6
+ end
7
+ if elem.tag == "Str" and elem.text and elem.text:match("index") then
8
+ io.stderr:write("Found Str with index-related text: " .. elem.text .. "\n")
9
10
+ return elem
11
+end
12
13
+return {
14
+ {
15
+ RawInline = debug_all,
16
+ RawBlock = debug_all,
17
+ Str = debug_all,
18
+ Para = debug_all
19
+ }
20
+}
0 commit comments