2.0.1 • Published 5 years ago

raml2html-material-theme v2.0.1

Weekly downloads
133
License
MIT
Repository
github
Last release
5 years ago

raml2html material theme

Travis Known Vulnerabilities Dependencies Dev Dependencies npm npm-version code style: prettier license

  • Compact overview
  • Interactive search
  • JSON Syntax Highlighting
  • Copy examples to clipboard functionality
  • Automatic example generation

Installation

$ npm install -g raml2html-material-theme

Usage

In javascript:

const raml2html = require('raml2html');
const config = raml2html.getConfigForTheme('raml2html-material-theme');

// source can be a filename, url or parsed RAML object
const source = 'path/to/raml/file';
raml2html
  .render(source, config)
  .then(html => console.log(html))
  .catch(error => console.error(error));

On the command line:

raml2html \
--theme 'raml2html-material-theme' \
-o 'path/to/output/file.html' \
-i 'path/to/raml/file.raml'

Example

example.html

Screenshot

Contributing

raml2html-material-theme is an open source project and your contribution is very much appreciated. Fork this repository and push in your ideas.

License

raml2html-material-theme is available under the MIT license. See the LICENSE file for more info.

2.0.1

5 years ago

2.0.0

5 years ago

2.0.0-beta.1

5 years ago

2.0.0-beta.0

5 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

7 years ago