• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

BackMarket/github-mermaid-extension: A browser extension for Chrome, Opera & ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

BackMarket/github-mermaid-extension

开源软件地址:

https://github.com/BackMarket/github-mermaid-extension

开源编程语言:

JavaScript 52.3%

开源软件介绍:

Github + Mermaid

A browser extension for Chrome, Opera & Firefox that adds Mermaid language support to Github Markdown.


Install

Features

Supported GitHub features

  • Pull requests & issues description (preview + published) - Demo
  • Pull requests & issues comment (preview + published)
  • Markdown (.md) files (diff + published)
  • Gists - Demo

Diagram types

Flowcharts

Flowchart example

Show source code
```mermaid
graph LR

A(Start)

A --> B[Look for an item]

B --> C{Did you find it?}
C -->|Yes| D(Stop looking)
C -->|No| E{Do you need it?}
E -->|Yes| B
E -->|No| D

Sequence Diagrams

Sequence Diagram example

Show source code
```mermaid
sequenceDiagram
participant U as User
participant C as Client
participant S as Server
participant DB as Database

U ->> C: Fill username
U ->> C: Fill password
C ->> U: Enable "Login" button
U ->> C: Click "Login" button
C ->>+ S: POST /login
S ->>+ DB: SELECT FROM users
Note over S,DB: See login.py for impl. details
DB -->>- S: results
S -->>- C: { authenticated: true }
C ->> U: redirect /home

Gantt Diagrams

Gantt Diagram example

Show source code
```mermaid
gantt
    title A Gantt Diagram
    dateFormat  YYYY-MM-DD
    section Section
    A task           :a1, 2014-01-01, 30d
    Another task     :after a1  , 20d
    section Another
    Task in sec      :2014-01-12  , 12d
    another task      : 24d

How to use

Simply put Mermaid code into ```mermaid. See Mermaid official website for more information about the Mermaid syntax.

Roadmap

  • Initial implementation
  • Publish Chrome extension
  • Documentation
  • Publish Firefox extension
  • Publish Opera extension
  • Continuous Integration
  • Upgrade dependencies
  • Automatic dependency management
  • Fix #3
  • Testing
  • Dark theme + option page
  • Cleanup

License

License

Contributing

Contributions (issues , pull requests ) are more than welcome! Feel free to clone, fork, modify, extend, etc.

See contributing intructions for details.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap