@smarterlabs/omni-plugin-yaml

0.1.13 • Public • Published

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
```

Package Sidebar

Install

npm i @smarterlabs/omni-plugin-yaml

Weekly Downloads

0

Version

0.1.13

License

MIT

Unpacked Size

5.03 kB

Total Files

4

Last publish

Collaborators

  • ken85rose