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 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
|
||||||
|
|||||||
Reference in New Issue
Block a user