Skip to content

walkable-server/plugin-mdtabs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Multiple languages code blocks for GitBook

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 74.3%
  • CSS 25.7%