Generation of diagram and flowchart from text in a similar manner as markdown

Source: mermaid-js/mermaid

Demo