gitbook-plugin-fix-plugins-call

0.0.4 • Public • Published

Gitbook Plugin Fix plugin call

A gitbook plugin to fix plugins calls

Install

Add this to your book.json, then run gitbook install:

{
    "plugins": ["bibtex-indexed-cite"]
}

Why?

Currently gitbook-editor does not support inserting plugin syntax things without forcing to edit in markdown, which is pretty anoying.

To overcome this, instead of writing

{{ "whatever" | <filter> }}

I did write

`{{ "whatever" | <filter> }}`

So I can still edit in the normal tab, but this deactivates the plugin functionality.

This plugin parses those entries and fixes the surrounding ` characters

Setup

In your book.json add

{
	"pluginsConfig": {
		"fix-plugins-call": {
			"plugins": [ "<filter-one>", "<filter-two>", "..."]
		}
	}
}

Where every <filter> is a filter for a plugin call to fix

/gitbook-plugin-fix-plugins-call/

    Package Sidebar

    Install

    npm i gitbook-plugin-fix-plugins-call

    Weekly Downloads

    1

    Version

    0.0.4

    License

    MIT

    Last publish

    Collaborators

    • m0n0l0c0