New blog site.
Go to file
array-in-a-matrix ecfd1b2673 fixed broken images 2024-01-16 17:21:50 -05:00
.vscode vscode extensions 2024-01-11 19:53:48 -05:00
public fixed broken images 2024-01-16 17:21:50 -05:00
src fixed broken images 2024-01-16 17:21:50 -05:00
.gitignore astro lunar base 2024-01-11 11:44:21 -05:00
LICENSE Farewell Nim 2024-01-11 10:33:22 -05:00
README.md Update README.md 2024-01-16 15:21:53 -05:00
astro.config.mjs add vite compression 2024-01-16 15:57:25 -05:00
package.json add vite compression 2024-01-16 15:57:25 -05:00
pnpm-lock.yaml add vite compression 2024-01-16 15:57:25 -05:00
tsconfig.json enable IntelliSense and type checking 2024-01-11 19:43:23 -05:00

README.md

Blog in a Matrix

New blog site using Astro.

Workflow

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.

Development

Setup

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.