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

https://github.com/linthtml/linthtml-pug

PUG parser compatible with linhtml
https://github.com/linthtml/linthtml-pug

Last synced: 2 months ago
JSON representation

PUG parser compatible with linhtml

Awesome Lists containing this project

README

          

# @linthtml/linthtml-pug

A [PUG](https://pugjs.org/) parser for [LintHTML](https://github.com/linthtml/linthtml)

## Usage

### Installation

```sh
$ npm install @linthtml/linthtml @linthtml/linthtml-pug --save-dev
# or
$ yarn add @linthtml/linthtml @linthtml/linthtml-pug -D
```

Note: `@linthtml/linthtml-pug` requires `@linthtml/linthtml>=0.7.0`

### Setup

To use `@linthtml/linthtml-pug`, "@linthtml/linthtml-pug" must be specified as the parser in your LintHTML configuration file (see [here](#) for more detailed information).

```js
.linthtmlrc.js

module.exports = {
parser: "@linthtml/linthtml-pug"
};
```