Skip to content

Commit

Permalink
[CHORE] changing mermaid render using kroki
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Takashi <[email protected]>
  • Loading branch information
nicolastakashi committed Jan 19, 2024
1 parent 2285a54 commit 4d281be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/synchronize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ markdown_files=$(find $BASE_OUTPUT_DIR -iname "*.md")
for markdown_file in $markdown_files; do
# Use sed to replace the ../../images with /images in the image tags
sed 's/\.\.\/\.\.\/images/\/images/g' "$markdown_file" > "$markdown_file.tmp" && mv "$markdown_file.tmp" "$markdown_file"
sed 's/```mermaid/```kroki {type=mermaid}/g' "$markdown_file" > "$markdown_file.tmp" && mv "$markdown_file.tmp" "$markdown_file"
done
## End of fixing the image paths in the markdown files

0 comments on commit 4d281be

Please sign in to comment.