open-index/open-npm huggingface dataset:
npm package: @forwardemail/highlight-pug
Description: Highlight pug while using `highlight.js`.
Author: xovel
Latest version: 1.0.1

# @forwardemail/highlight-pug

Highlight pug while using `highlight.js`.

## Install

```sh
npm install @forwardemail/highlight-pug
```

## Usage

```js
const highlightPug = require('@forwardemail/highlight-pug');

// <https://github.com/ztmd/highlight-pug/issues/1>
hljs.registerLanguage('pug', highlightPug);
```

## Note

> For experiment, not test fully.

## Syntax

- Doctype
- Inline Comment
- Variable(`#{...}`, `${...}`)
- Selector(`tag`, `id`, `class`)
- Symbol(`=`, `,`, `:`, `?`, `!`)

## TODO

- [ ] Block comment
- [ ] Text
- [ ] Attribute

***************