chore: move posts to qmd

This commit is contained in:
2026-01-10 04:54:45 +02:00
parent 97659578d9
commit ef6a991a4c
16 changed files with 156 additions and 215 deletions

View File

@@ -30,8 +30,9 @@ function CodeBlock(block)
local echo = block.attributes['echo']
local codeFold = block.attributes['code-fold']
-- Default to showing code
-- Default to showing code collapsed
if echo == nil then echo = "true" end
if codeFold == nil then codeFold = "true" end
local result = {}
@@ -62,7 +63,9 @@ function CodeBlock(block)
-- Create the HTML output for the visualization
local html = string.format([[
<div id="%s"></div>
<div class="vega-viz-container">
<div id="%s"></div>
</div>
<script type="text/javascript">
vegaEmbed('#%s', %s, {"actions": true});
</script>