Welcome to gatsby-remark-pintora 👋

Version License: MIT

This plugin adds diagrams using pintora during server-side rendering. So you don’t have to include a runtime dependency of pintora.

🏠 Homepage

Install

In your gatsby project:

npm install --save gatsby-remark-pintora

How to Use

This plugin processes markdown code blocks. If you have any other plugins which do that such as syntax highlighters, make sure you import this before those plugins.

Add the plugin to your gatsby-config.js.

{
  plugins: [
    {
      resolve: 'gatsby-transformer-remark',
      options: {
        plugins: [
          {
            resolve: 'gatsby-remark-pintora',
            options: {
              // language: 'pintora',
              // theme: 'default',
              // backgroundColor: '#ffffff',
            }
          }
        ]
      }
    }
  ]
}

Now you can use pintora in your markdown:

```pintora
activityDiagram
  start
  :Install Plugin;
  :Configure;
  :Make beautiful and structured diagrams;
  end

Author

Acknowledge

This plugin is inspired by gatsby-remark-mermaid | Gatsby.


This README was generated with ❤️ by readme-md-generator