gitbook-plugin-es6tabs

Include ES 6 code blocks, with automatically generated ES 5 tab

Showing:

Popularity

Downloads/wk

1

GitHub Stars

2

Maintenance

Last Commit

5yrs ago

Contributors

0

Package

Dependencies

4

Size (min+gzip)

149.3KB

License

Apache-2.0

Type Definitions

Tree-Shakeable

No?

Categories

Readme

es6tabs

Include ES 6 code blocks, with automatically generated ES 5 preview using Babel.

Preview

Installation

Adds the plugin to your book.json, then run gitbook install if you are building your book locally.

{
    "plugins": ["es6tabs"]
}

Usage


This is some ES 6 code, you can also see the ES 5 output:

{% es6 -%}
import {test} from './test';

let myVar = 'test';
{%- endes6 %}

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100