> What does Pandoc with the --katex option do which you are unhappy with? I have just 3 short lines of code for KaTeX css/js files in my template file. Pandoc inserts 341 lines of code that I don't want to deal with, because I already have everything written the way I want. > You can probably use Pandoc's raw block/raw inline syntax: > > Raw block (the backticks are part of the syntax): > > ```{=html} > $$...$$ > ``` > > Raw inline (again the backticks are part of the syntax): > > `$...$`{=html} > > "Code" marked with {=FORMAT}, where FORMAT is a Pandoc output format name as > you would pass it to the --to/--write option will be passed through verbatim to > that output format and ignored in other output formats. Thanks, I'll try it! вторник, 7 сентября 2021 г. в 14:50:59 UTC+5, BP: > Den tis 7 sep. 2021 07:43Danil Braun skrev: > >> >> *I don't want pandoc to touch them in any way* > > > What does Pandoc with the --katex option do which you are unhappy with? > > >> I have set the base URL for the KaTeX library and what did I get? This >> --- https://braun.guru/20210905170336.html >> >> ``` >> <!DOCTYPE html> >> >> >> >> >> >> >> katex CDN by jsDelivr - A free, fast, and reliable Open Source CDN >> >>