try embed css in html
All checks were successful
Build and publish CMBA rulebooks (Gitea) / build-release (push) Successful in 9s
All checks were successful
Build and publish CMBA rulebooks (Gitea) / build-release (push) Successful in 9s
This commit is contained in:
5
.github/workflows/release-docs.yml
vendored
5
.github/workflows/release-docs.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
mkdir -p dist
|
||||
mkdir -p assets_tmp
|
||||
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
|
||||
|
||||
for doc in cmba-bylaws; do
|
||||
@@ -39,8 +39,9 @@ jobs:
|
||||
pandoc "src/${doc}.md" \
|
||||
--toc \
|
||||
--standalone \
|
||||
--embed-resources \
|
||||
--metadata title="CMBA ${doc}" \
|
||||
--css assets_tmp/github-markdown.css \
|
||||
--css ./assets_tmp/github-markdown.css \
|
||||
-o "dist/${doc}.html"
|
||||
|
||||
# PDF
|
||||
|
||||
Reference in New Issue
Block a user