try embed css in html
All checks were successful
Build and publish CMBA rulebooks (Gitea) / build-release (push) Successful in 9s

This commit is contained in:
Tony
2026-01-14 10:36:57 -06:00
parent 3db8d566e6
commit a2d3fad8df

View File

@@ -31,7 +31,7 @@ jobs:
mkdir -p dist mkdir -p dist
mkdir -p assets_tmp mkdir -p assets_tmp
curl -fsSL \ curl -fsSL \
-o assets_tmp/github-markdown.css \ -o ./assets_tmp/github-markdown.css \
https://raw.githubusercontent.com/sindresorhus/github-markdown-css/main/github-markdown.css https://raw.githubusercontent.com/sindresorhus/github-markdown-css/main/github-markdown.css
for doc in cmba-bylaws; do for doc in cmba-bylaws; do
@@ -39,8 +39,9 @@ jobs:
pandoc "src/${doc}.md" \ pandoc "src/${doc}.md" \
--toc \ --toc \
--standalone \ --standalone \
--embed-resources \
--metadata title="CMBA ${doc}" \ --metadata title="CMBA ${doc}" \
--css assets_tmp/github-markdown.css \ --css ./assets_tmp/github-markdown.css \
-o "dist/${doc}.html" -o "dist/${doc}.html"
# PDF # PDF