File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1- -- customastshim .lua
1+ -- apishim .lua
22-- Copyright (C) 2020-2023 Posit Software, PBC
33
4+ local _format = require ' _format' ;
45_quarto = {
56 ast = {
67 walk = function (el , filter )
78 return el :walk (filter )
89 end
9- }
10+ },
11+ format = _format ;
1012}
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ function import(script)
1717 local path = PANDOC_SCRIPT_FILE :match (" (.*[/\\ ])" )
1818 dofile (path .. script )
1919end
20+ import (" ../common/apishim.lua" )
21+
2022import (" index.lua" )
2123import (" preprocess.lua" )
2224import (" sections.lua" )
@@ -46,10 +48,9 @@ import("../common/table.lua")
4648import (" ../common/string.lua" )
4749import (" ../common/debug.lua" )
4850
49- import (" ../common/customastshim.lua" )
5051-- [/import]
5152
52- -- note that the custom-ast-shim .lua import should _not_ happen on main.lua
53+ -- note that the apishim .lua import should _not_ happen on main.lua
5354
5455initCrossrefIndex ()
5556
Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ import("../common/filemetadata.lua")
1616import (" ../common/meta.lua" )
1717import (" includes.lua" )
1818import (" resourcerefs.lua" )
19- import (" ../common/customastshim .lua" )
19+ import (" ../common/apishim .lua" )
2020
2121-- [/import]
2222
23- -- note that the custom-ast-shim .lua import should _not_ happen on main.lua
23+ -- note that the apishim .lua import should _not_ happen on main.lua
2424-- it exists for us to be able to support filters that need to exist on IDE
2525-- and do not require the full custom AST work.
2626
You can’t perform that action at this time.
0 commit comments