Glow
Glow is a syntax highligher for markdown.
Get started
Use Glow as a standalone library or together Nue
Standalone library
Install with NPM and and follow Glow documentation
npm i nue-glow
With Nue
Nue uses Glow in markdown code blocks and it offers three Nuemark tags: [code]
, [codeblocks]
, and [codetabs]
for more advanced usage. Try them out as follows:
# Install Bun (if not done yet)
curl -fsSL https://bun.sh/install | bash
# Install website generator (Nuemark playground)
bun install nuekit --global
# Start a Nue project with a Glow-powered template
bun create nue@latest
Choose "Simple blog" and off you go.