Omni Yaml Plugin
A plugin that allows you to use yaml
config blocks in Omni-Directional Documents.
Installation
npm install @smarterlabs/omni-plugin-yaml --save
or
yarn add @smarterlabs/omni-plugin-yaml
Usage
import Omni from '@smarterlabs/omni'
import omniYaml from '@smarterlabs/omni-plugin-yaml'
const omni = new Omni({
input: `src`,
output: `dist`,
plugins: [
omniYaml(),
],
})
omni.watch()
Example
```yaml config
interpolate:
__scope: scope-name
```