gitbook-plugin-es6tabs-stage-0

1.0.3 • Public • Published

es6tabs

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

Forked from https://github.com/GitbookIO/plugin-es6tabs to admit stage-0

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 %}

Readme

Keywords

Package Sidebar

Install

npm i gitbook-plugin-es6tabs-stage-0

Weekly Downloads

0

Version

1.0.3

License

Apache-2.0

Last publish

Collaborators

  • rafadanipedro