How to write mermaid on a site using Hugo

※ Some sentences were helped with translator site:) I had a chance to think about using mermaid in this site I created using Hugo theme. I actually tried to incorporate it into the site, so I leave it as an article. ※ I mainly tried to make it work without any errors, so there may be some things that are better to do this way or not to do this way....

<span title='2022-12-14 19:20:31 +0900 +0900'>December 14, 2022</span>

Docker for mac doesn't work

Environment PC: macbook Air (M1) OS: Big Sur 11.6.1 Problem One day, when I pressed Preferences from the docker desktop for mac icon, the Docker screen did not come up (the icon bounced a couple of times and then dropped). When I restarted my PC, I got an error window saying Fatal Error Failed to ping backend API and docker itself did not start up. The Reset Docker to factory defaults, Diagnose & Feedback, Exit option is there, but I can’t press it (the cursor is going around) and it won’t let me reset it....

<span title='2022-01-10 12:45:25 +0900 +0900'>January 10, 2022</span>

Increase memory allocation of docker to avoid Killed

Problem When I tried to install the aws s3 adapter in my laravel project, I went into the docker container and ran composer require league/flysystem-aws-s3-v3 ~1.0 and it was killed as follows. root@9f833b0a116f:/var/www/html/laravel# composer require league/flysystem-aws-s3-v3 ~1.0 ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Killed Pls don’t kill it… I want to complete the installation of this without getting killed. TL;DR Increase the memory allocation of Docker for Mac as much as possible....

<span title='2021-02-19 12:01:46 +0900 +0900'>February 19, 2021</span>