Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maizzle/starter-prismjs

Add code syntax highlighting to HTML emails with PrismJS.
https://github.com/maizzle/starter-prismjs

html-email maizzle prismjs syntax-highlighting synthwave tailwindcss

Last synced: 5 days ago
JSON representation

Add code syntax highlighting to HTML emails with PrismJS.

Awesome Lists containing this project

README

        




Maizzle


Maizzle


Syntax highlighting in HTML email with PrismJS


## About

This is the repo for the [How to add PrismJS syntax highlighting to HTML emails](https://maizzle.com/guides/syntax-highlighting-prismjs) Maizzle guide.

![Result preview](https://res.cloudinary.com/maizzle/image/upload/v1625823493/guides/syntax-highlight/preview.jpg)

## Getting Started

Install the Maizzle CLI:

```sh
npm install -g @maizzle/cli
```

Scaffold a new project with this starter:

```sh
maizzle new prismjs
```

Alternatively, you may clone this starter directly:

```bash
# remember to install dependencies with `npm install`
npx degit maizzle/starter-prismjs
```

## Development

Start a local development server:

```
npm run dev
```

Build for production:

```
npm run build
```

Maizzle documentation is available at https://maizzle.com