Vscode-markdown: [Feature request] Support pseudocode in code block

Created on 24 Jan 2018  路  6Comments  路  Source: yzhang-gh/vscode-markdown

As the title, please support pseudocode in code block. It would be great if there is an option to render the pseudocode into flow chart.

Markdown dialect

Most helpful comment

I can understand the difficulties. I do enjoy your Plugin, and use it all the time. But sometimes, I don't write in any specific language. What I need is just a flow, then I or my partners can implement it later.

It's doesn't matter how long they will be implemented. When theses ideas come to me, I think I should write them out, and here we are.

All 6 comments

I guess Mermaid is what you need

Hi @neilsustc ,
Thanks for your reply.
I used Mermaid before, but not any more. IMO, for drawing diagram, PlantUML is a better option. With my feature request, drawing flow chart is just an additional option.

I don't understand the feature. What is supporting pseudocode?

Can you provide a snippet of code and briefly describe what you expect?

Well, actually, there are 2 features here:

  1. Syntax highlight for pseudocode in code block. Just like js, ruby, C#... In order to make it more beautiful and easy to read.
  2. An option to convert the pseudocode into a flow chart.

I have just googled, and here is an example of feature 2.

Okay, I understand now. It is about Graphviz

  1. The syntax highlight for Graphviz language. (But it seems not easy to do)
  2. Convert Graphviz code block into images when previewing.

But I'm afraid these features cannot be implemented soon (because of the vscode APIs, etc.)

(Another suggestion is to try some other extensions)

I can understand the difficulties. I do enjoy your Plugin, and use it all the time. But sometimes, I don't write in any specific language. What I need is just a flow, then I or my partners can implement it later.

It's doesn't matter how long they will be implemented. When theses ideas come to me, I think I should write them out, and here we are.

Was this page helpful?
0 / 5 - 0 ratings