Socket
Socket
Sign inDemoInstall

gatsby-remark-sequence

Package Overview
Dependencies
3
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gatsby-remark-sequence

Make nice graphs in your markdown files in gatsbyjs, using flowchart


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
51.3 kB
Created
Weekly downloads
 

Readme

Source

gatsby-remark-graph

Make nice graphs in your markdown files in gatsbyjs, using js-sequence-diagrams.

install

npm install --save gatsby-transformer-remark gatsby-remark-sequence

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: 'gatsby-transformer-remark',
    options: {
      plugins: [
        {
          resolve: `gatsby-remark-sequence`,
          options: {
            // see more details on https://github.com/bramp/js-sequence-diagrams
            'theme': 'hand',
          }
        },
      ]
    }
  }
]

Make sure you put it before other plugins (especially those that work with code blocks, like prism.)

Usage in Markdown

```sequence
Andrew->China: Says Hello
Note right of China: China thinks\nabout it
China-->Andrew: How are you?
Andrew->>China: I am good thanks!
```

Will give you a graph that looks like this:

diagram

Keywords

FAQs

Last updated on 20 Sep 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc