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 4728359 commit 0cf8ba6Copy full SHA for 0cf8ba6
src/resources/pandoc/datadir/init.lua
@@ -1733,6 +1733,10 @@ local function file_exists(name)
1733
return content
1734
end
1735
1736
+ local function remove_file(path)
1737
+ return os.remove(path)
1738
+ end
1739
+
1740
-- Quarto internal module - makes functions available
1741
-- through the filters
1742
_quarto = {
@@ -1751,7 +1755,8 @@ _quarto = {
1751
1755
file = {
1752
1756
read = read_file,
1753
1757
write = write_file,
1754
- exists = file_exists
1758
+ exists = file_exists,
1759
+ remove = remove_file
1760
}
1761
1762
0 commit comments