Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/khalidhoffman/pug-php-filter
php filter for pug
https://github.com/khalidhoffman/pug-php-filter
pug
Last synced: 2 days ago
JSON representation
php filter for pug
- Host: GitHub
- URL: https://github.com/khalidhoffman/pug-php-filter
- Owner: khalidhoffman
- Created: 2016-10-25T18:31:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-10T14:55:16.000Z (almost 8 years ago)
- Last Synced: 2025-01-31T10:51:10.377Z (13 days ago)
- Topics: pug
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pug-php-filter
## What it does
`pug-php-filter` provides a pug php filter
```
:php
echo "hello world";
```
renders:```
```
## How to use
Here's an example:
```
var pug = require('pug'),
pugPHPFilter = require('pug-php-filter');pug.renderFile('path/to/pug/file', {
filters: {
php: pugPHPFilter
}
});```