npm.io
0.0.7 • Published 5 years ago

gitbook-plugin-ferns

Licence
MIT
Version
0.0.7
Deps
2
Size
125 kB
Vulns
0
Weekly
0

GitBook/Honkit plugin for Ferns

A plugin to display beautiful trees in Honkit (or legacy GitBook).

Installation

Install it via NPM or Yarn:

$ yarn add gitbook-plugin-ferns

Use it in your book by adding it to book.json:

{
  "plugins": ["ferns"]
}

Usage

Use a fenced code block tagged with ferns:

```ferns
a
  key = value
  -- arrow -->
    b
    c
```

This will automatically become a tree: Screenshot