From 8ddb0a74dd74f6150752c8c75991dd77abaa8ba9 Mon Sep 17 00:00:00 2001 From: James J Balamuta Date: Sat, 15 Jun 2024 08:01:20 -0700 Subject: [PATCH] Improve error message --- _extensions/panelize/panelize.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_extensions/panelize/panelize.lua b/_extensions/panelize/panelize.lua index a8e64ab..f760244 100644 --- a/_extensions/panelize/panelize.lua +++ b/_extensions/panelize/panelize.lua @@ -55,7 +55,7 @@ function Div(div) elseif code.classes:includes("python") or code.text:match("^```{{python") then language = "python" else - quarto.log.error("Please only specify either R or Python code cells inside of the `to-panel` div.") + quarto.log.error("Please only specify either R or Python code cells inside of the `.to-*` div.") end end end,