From 9e07e94df6f51a2db30f51ad8a2fe08494f375fe Mon Sep 17 00:00:00 2001 From: Garrick Aden-Buie Date: Tue, 27 Aug 2024 08:26:23 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20use=20Pandoc=20filter=20to=20add?= =?UTF-8?q?=20dependency?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _extensions/tachyons/tachyons.lua | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/_extensions/tachyons/tachyons.lua b/_extensions/tachyons/tachyons.lua index 68baa78..a148578 100644 --- a/_extensions/tachyons/tachyons.lua +++ b/_extensions/tachyons/tachyons.lua @@ -1,7 +1,9 @@ -if quarto.doc.is_format("html:js") then - quarto.doc.add_html_dependency({ - name = 'tachyons', - version = '4.12.0', - stylesheets = { "tachyons.css" }, - }) -end +function Pandoc() + if quarto.doc.is_format("html:js") then + quarto.doc.add_html_dependency({ + name = 'tachyons', + version = '4.12.0', + stylesheets = { "tachyons.css" }, + }) + end +end \ No newline at end of file