Skip to content

growilabs/growi-plugin-boilerplate

Repository files navigation

growi-plugin-boilerplate

dependencies status devDependencies Status MIT License

Install to use custom tag examples

  1. install plugin

    yarn add growi-plugin-boilerplate
  2. build client app (see official documents)

Usage

$foo tag

A simple example to implement custom tag that parse $foo() syntax and render a Foo React component.

Syntax

$foo(range=1:10)

Options

$bar tag

An example to implement custom tag that parse $bar() syntax and render a Bar React component.
The Bar component retrieves the username of the author of the current page.

Syntax

$bar()

Options

(nothing)

How to develop GROWI Plugins?

Read https://docs.growi.org/dev/plugin/