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

https://github.com/cossssmin/vscode-posthtml

PostHTML code snippets for VS Code.
https://github.com/cossssmin/vscode-posthtml

posthtml vscode vscode-snippets

Last synced: 14 days ago
JSON representation

PostHTML code snippets for VS Code.

Awesome Lists containing this project

README

          

# PostHTML

> [PostHTML](https://posthtml.org/) snippets for VS Code.

![Snippets preview animation](https://github.com/cossssmin/vscode-posthtml/raw/master/media/screenshot.gif)

## Install

```sh
$ ext install posthtml
```

Or, `F1` → `Install Extension` → Search for `posthtml`

## Snippets

The following snippets are included:

For [posthtml-extends](https://github.com/posthtml/posthtml-extend):

- ``
- `` (`extends` alias)

* ``
* ``

For [posthtml-expressions](https://github.com/posthtml/posthtml-expressions):

- ``
- ``
- ``
- ``
- ``
- ``
- ``
- ``
- ``
- ``
- ``
- ``, ``

For [posthtml-include](https://github.com/posthtml/posthtml-include):

- ``

For [posthtml-modules](https://github.com/posthtml/posthtml-modules):

- ``

For other plugins:

- `` (modules in [maizzle.js](https://maizzle.com))
- `` ([posthtml-spaceless](https://github.com/posthtml/posthtml-spaceless))
- `` ([posthtml-lorem](https://github.com/jonathantneal/posthtml-lorem))
- ``, `` ([posthtml-md](https://github.com/jonathantneal/posthtml-md), [posthtml-markdown](https://github.com/OzymandiasTheGreat/posthtml-markdown), [posthtml-md2html](https://github.com/posthtml/posthtml-md2html))

## Usage

Start writing a snippet's `prefix` (tag name) and then press Tab ↹ to expand the snippet.

## License

MIT © [Cosmin Popovici](https://github.com/cossssmin)