updates
This commit is contained in:
@@ -37,6 +37,8 @@ do
|
||||
-e 's|^# |\\newpage\n# |' \
|
||||
-e 's|^## |\\newpage\n## |' \
|
||||
-e 's|\[\([^]]*\)\](#\([^)]*\))|[\1](#\L\2)|' \
|
||||
-e 's|^> \[!todo\]|> \\textcolor{cyan}{TODO:}|' \
|
||||
-e 's|^> \[!warn\]|> \\textcolor{orange}{WARNING:}|' \
|
||||
-e "s|https://live.kladjes.nl/uploads|${BASE_DIR}/latex/images|" \
|
||||
-e "s|\`\`\`mermaid|\`\`\`{.mermaid loc=${BASE_DIR}/latex/images/$(basename "$md_src")}|"
|
||||
download_images "$BUILD_DIR/$md_src"
|
||||
@@ -57,6 +59,8 @@ sed -i "$TEMP_MD_FILE" \
|
||||
-e 's|^#||' \
|
||||
-e 's|^# |\\newpage\n# |' \
|
||||
-e 's|\[\([^]]*\)\](#\([^)]*\))|[\1](#\L\2)|' \
|
||||
-e 's|^> \[!todo\]|> \\textcolor{cyan}{TODO:}|' \
|
||||
-e 's|^> \[!warn\]|> \\textcolor{orange}{WARNING:}|' \
|
||||
-e "s|https://live.kladjes.nl/uploads|${BASE_DIR}/latex/images|" \
|
||||
-e "s|\`\`\`mermaid|\`\`\`{.mermaid loc=${BASE_DIR}/latex/images/$(basename "$MD_FILE")}|"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user