From f6d749082c76b26e72dafd9b02d8a95260a03019 Mon Sep 17 00:00:00 2001 From: gsabin Date: Mon, 24 Feb 2025 22:06:13 +0100 Subject: deleted examples from repository --- _extensions/Example/quartoFilterDraft.lua | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 _extensions/Example/quartoFilterDraft.lua (limited to '_extensions/Example/quartoFilterDraft.lua') diff --git a/_extensions/Example/quartoFilterDraft.lua b/_extensions/Example/quartoFilterDraft.lua deleted file mode 100644 index e084876..0000000 --- a/_extensions/Example/quartoFilterDraft.lua +++ /dev/null @@ -1,14 +0,0 @@ -function Pandoc(doc) - -- This function will process the entire document - for _, el in pairs(doc.blocks) do - if el.t == "Para" then - for _, inline in pairs(el.content) do - if inline.t == "Str" and inline.text:match("%[@%a+%]") then - -- This is a simple detection for semantic annotations - print("Found semantic annotation: " .. inline.text) - end - end - end - end - return doc -end \ No newline at end of file -- cgit v1.2.3