864 B

Blog in a Matrix

New blog site using Astro.


Articles are written in markdown or MDX (I am using Joplin) then exported to /src/content/blog. The site can render $\KaTeX$ and Mermaid content.



Install dependencies:

pnpm install

Dev Server

Start a development server using the following command:

pnpm dev --open --host

The site should be now accessible at http://localhost:4321/. A specific port can be specified using --port flag.

Build Site

Build deployable site:

pnpm exec playwright install
pnpm exec playwright install-deps # or you can manually install the dependencies
pnpm astro build

Built site can now be found at /dist.