raml2html material theme
- 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 = ;const config = raml2html; // source can be a filename, url or parsed RAML objectconst source = 'path/to/raml/file';raml2html ;
On the command line:
raml2html \
--theme 'raml2html-material-theme' \
-o 'path/to/output/file.html' \
-i 'path/to/raml/file.raml'
Example
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.