calliope-blockworld

0.1.8 • Public • Published

Calliope Blockworld Plugin

Calliope Mermaid Diagram Plugin

This plugin is for Calliope and is designed to provide functionality for mermaid diagrams inside of pages and posts.

Installation

The plugin can be installed from NPM via:

    npm install calliope-blockworld

Usage

Inside of your _calliope/app/config/plugins/index.jsx file, add the following:

    // Import the module at the top
    import BlockWorld from "calliope-blockworld";
    // and then further down inside of the switch statement add the following
    // ...
    case "blockworld":
      console.log(BlockWorld);
      let { networkString } = props.attributes;
      if (networkString) {
        return <BlockWorld networkString={networkString} />;
      } else {
        return <></>;
      }
    // ...

Package Sidebar

Install

npm i calliope-blockworld

Weekly Downloads

1

Version

0.1.8

License

ISC

Unpacked Size

468 kB

Total Files

70

Last publish

Collaborators

  • kderbyma