Skip to content
This repository was archived by the owner on Jul 6, 2021. It is now read-only.

Commit 9b6e2ee

Browse files
committed
Merge branch '364-dmius-html-pdf-warning-fix' into 'master'
Warning during generation html fixed Closes #364 See merge request postgres-ai/postgres-checkup!311
2 parents 067e899 + a190773 commit 9b6e2ee

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

resources/md2pdf.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,14 @@ if PANDOC=$(which pandoc); then
3232
awk '{ gsub(/\\\//, "/"); print }' $md_filename > $tmp1_md_filename
3333

3434
pandoc --from=markdown_github-yaml_metadata_block --standalone \
35-
--to=html -V -H $CUR_DIR/md.style --output=$tmp1_html_filename $tmp1_md_filename
35+
--metadata pagetitle="Postgres Checkup Report" \
36+
--to=html -V -H $CUR_DIR/md.style \
37+
--output=$tmp1_html_filename $tmp1_md_filename
3638

3739
pandoc --from=markdown_github-yaml_metadata_block --standalone \
38-
--to=html -V -H $CUR_DIR/pdf.style --output=$tmp2_html_filename $tmp1_md_filename
40+
--metadata pagetitle="Postgres Checkup Report" \
41+
--to=html -V -H $CUR_DIR/pdf.style \
42+
--output=$tmp2_html_filename $tmp1_md_filename
3943

4044
# replace :warninig: image
4145
awk '{ gsub(/:warning:/, "<span class=\"warn warning\"></span>"); print }' $tmp1_html_filename > $html_filename

0 commit comments

Comments
 (0)