Commit 225613b1 authored by Constantin's avatar Constantin
Browse files

Füge Quarto-Renderingsystem hinzu

parent 0f03d081
*.qmd linguist-language=markdown
/.quarto/
*.pdf
*.mediawiki
*.html
number-sections: true
author: "TKS e.V."
lang: de
toc: false
format:
html:
toc: false
pdf:
toc: false
mediawiki:
toc: false
filters:
- comments.lua
- quarto
-- This custom Pandoc plugin makes sure that footnotes are only rendered, if the environment variable COMMENTS is set to some value
local List = require 'pandoc.List'
local system = require 'pandoc.system'
local process
function process (cb)
-- if COMMENTS environment variable is EMPTY
if system.environment()["COMMENTS"] == nil then
-- delete comment (i.e. replace by empty list of comments)
return List:new()
-- otherwise COMMENTS variable is set
else
-- keep comment as is
return nil
end
end
return {
{ Note = process }
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment