Resolve PDF export assets relative to posts
Some checks are pending
Build / build (push) Waiting to run

This commit is contained in:
Neeldhara Misra 2026-06-25 13:20:59 +05:30
parent 58310e1944
commit 6439559017

View file

@ -37,10 +37,14 @@ const outputPath = path.resolve(
);
mkdirSync(path.dirname(outputPath), { recursive: true });
const resourcePath = [path.dirname(inputPath), repoRoot].join(path.delimiter);
const pandocArgs = [
inputPath,
"--from",
"markdown+fenced_code_attributes+tex_math_dollars+tex_math_single_backslash+footnotes+raw_html",
"--resource-path",
resourcePath,
"--pdf-engine=lualatex",
"--lua-filter",
filterPath,