Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/matter-in-motion/mm-nunjucks-extensions

Nunjucks fuzzy file search tag extension
https://github.com/matter-in-motion/mm-nunjucks-extensions

extension matter-in-motion nunjucks

Last synced: about 1 month ago
JSON representation

Nunjucks fuzzy file search tag extension

Awesome Lists containing this project

README

        

# Matter In Motion. Nunjucks extensions loader

[![NPM Version](https://img.shields.io/npm/v/mm-nunjucks-extensions.svg?style=flat-square)](https://www.npmjs.com/package/mm-nunjucks-extensions)
[![NPM Downloads](https://img.shields.io/npm/dt/mm-nunjucks-extensions.svg?style=flat-square)](https://www.npmjs.com/package/mm-nunjucks-extensions)

Loads nunjucks extensions into your nunjucks environment in the [matter in motion](https://github.com/matter-in-motion/mm) framework

## Usage

[Extensions installation instructions](https://github.com/matter-in-motion/mm/blob/master/docs/extensions.md)

## Settings

Add `extensions` array to the nunjucks settings with extensions. If an extension is a string, it will require the module and will create and add an extension. If it is an `extension` class itself it will be added to your environment.

License: MIT.