Skip to content

Add sequence & workflow diagram support to Markdown #9982

Closed

Description

Supporting syntax through jsSequence and jsFlow would be great.

related #2273

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

sequence

```flow
st=>start: Start:>http://www.google.com[blank]
e=>end:>http://www.google.com
op1=>operation: My Operation
sub1=>subroutine: My Subroutine
cond=>condition: Yes
or No?:>http://www.google.com
io=>inputoutput: catch something...

st->op1->cond
cond(yes)->io->e
cond(no)->sub1(right)->op1
``

flow

Activity

  1. added
    feature-request
    markdown-ext
    on Aug 2, 2016
  2. chemaoxian commented on Oct 17, 2016

    @chemaoxian

    yes , it's just what i want

  3. added
    *extension-candidate
    on Dec 1, 2016
  4. kaipaysen commented on Feb 2, 2017

    @kaipaysen

    I'd love that feature!

  5. mjbvz commented on Apr 5, 2017

    @mjbvz
    Contributor

    Please take a look at our experimental markdown extension exploration in VSCode 1.11: #22916

    For example, here's an experimental extension that adds mermaid diagram support to markdown files using this API: https://github.com/mjbvz/vscode-markdown-mermaid

    If someone is interested in prototyping an extension for jsflow or jssequence, I'd be happy to help out and hear any feedback you have on the API. The mermaid extension is probably a good staring point

  6. seanpk commented on Jul 17, 2017

    @seanpk

    I am quite interested in having any diagram support in my markdown (I'm not particular about the syntax or underlying technology).
    At a basic level, I'd like to be able to replicate what stackedit.io can do for sequence diagrams and flow charts.

    Matt Bierner (@mjbvz) - is markdown-mermaid still based on experimental features as indicated in its readme?
    What are the next steps for getting a stable extension in place?

    Also, related but not necessarily connected to the extension, I wonder what the best practices for doing builds of such documents would look like.

  7. mjbvz commented on Jul 17, 2017

    @mjbvz
    Contributor

    Sean Kennedy (@seanpk) The markdown extensions API is now enabled by default in the current VS Code insiders builds. I've update the VSCode markdown mermaid extensions to support this. I plan on releasing the extension on the VS Code marketplace after 1.15 ships

    Closing this issue since extensions should now be able to contribute this functionality

  8. seanpk commented on Jul 18, 2017

    @seanpk

    thanks Matt Bierner (@mjbvz), that sounds great

  9. locked and limited conversation to collaborators on Nov 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*extension-candidatefeature-requestmarkdown-ext

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions