Skip to content

Commit 8b17c5d

Browse files
committed
add mermaid-filter
1 parent aa1d89d commit 8b17c5d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build-resources-with-pandoc.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ pandoc ./AWSインフラリソース命名規約.md --toc --reference-doc=${STYL
3333
# OpenAPISpecification
3434
cd ${ROOT_DIR}/documents/forOpenAPISpecification
3535

36-
pandoc ./OpenAPI_Specification_3.0.3.md -s --self-contained --number-sections --toc -t html5 -c ${CSS_PATH} -o ${RESOURCES_DIR}/OpenAPI_Specification_3.0.3.html
37-
pandoc ./OpenAPI_Specification_3.0.3.md --toc --reference-doc=${STYLE_DOCX_PATH} -s -o ${RESOURCES_DIR}/OpenAPI_Specification_3.0.3.docx
36+
# mermaid.jsのUML利用箇所があるため、mermaid-filterを追加
37+
pandoc ./OpenAPI_Specification_3.0.3.md -s --self-contained --number-sections --toc -t html5 -c ${CSS_PATH} --filter mermaid-filter -o ${RESOURCES_DIR}/OpenAPI_Specification_3.0.3.html
38+
pandoc ./OpenAPI_Specification_3.0.3.md --toc --reference-doc=${STYLE_DOCX_PATH} -s --filter mermaid-filter -o ${RESOURCES_DIR}/OpenAPI_Specification_3.0.3.docx
3839

3940
# Git
4041
cd ${ROOT_DIR}/documents/forGitBranch

0 commit comments

Comments
 (0)