gitbook-plugin-mdtabs

1.0.0 • Public • Published

mdtabs

A fork of codetabs that renders markdown in tab body so you have more flexibility. Preview

Installation

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

{
    "plugins": ["mdtabs"]
}

Usage


This is a code block with tabs for each languages:

{% mdtabs title="Python" %}
## can have headers here
```python
msg = "Hello World"
print msg
```
{% mdtab title="JavaScript" %}
```js
var msg = "Hello World";
console.log(msg);
```
{% mdtab title="HTML" %}
```html
Hello World
```
{% endmdtabs %}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i gitbook-plugin-mdtabs

Weekly Downloads

1

Version

1.0.0

License

Apache-2.0

Unpacked Size

14.8 kB

Total Files

6

Last publish

Collaborators

  • myguidingstar