将时序图集成到markdown文件中
Integrating sequence diagram into markdown file
我想找到合适的工具将 Diagram 集成到 Markdown 文件中。
我找到了 js-sequence-diagrams
现在我可以做一些类似 input.sequence
A->B: Normal line
B-->C: Dashed line
C->>D: Open arrow
D-->>A: Dashed open arrow
我的问题是您推荐使用什么包将图表直接插入 markdown 文件示例 process.md :
# Conditions
Below the diagram explaining the process
A->B: Normal line
B-->C: Dashed line
C->>D: Open arrow
D-->>A: Dashed open arrow
@hb.Sara,
像typora这样的服务应该会有帮助。
否则,例如,如果您希望将序列图作为扩展添加到 Markdown 文件,然后将其推送到 GitHub,这可能行不通。
要将图像(序列图或其他)放入降价文件中,您需要使用此语法。
![An image of a dog](https://i.imgur.com/YhG31pi.png)
甚至 JS 序列图本身也在其 readme file. You could either store the image in the same repository or host the image externally (example: imgur) 中使用此语法。
希望这对您有所帮助。
我想找到合适的工具将 Diagram 集成到 Markdown 文件中。 我找到了 js-sequence-diagrams
现在我可以做一些类似 input.sequence
A->B: Normal line
B-->C: Dashed line
C->>D: Open arrow
D-->>A: Dashed open arrow
我的问题是您推荐使用什么包将图表直接插入 markdown 文件示例 process.md :
# Conditions
Below the diagram explaining the process
A->B: Normal line
B-->C: Dashed line
C->>D: Open arrow
D-->>A: Dashed open arrow
@hb.Sara,
像typora这样的服务应该会有帮助。
否则,例如,如果您希望将序列图作为扩展添加到 Markdown 文件,然后将其推送到 GitHub,这可能行不通。
要将图像(序列图或其他)放入降价文件中,您需要使用此语法。
![An image of a dog](https://i.imgur.com/YhG31pi.png)
甚至 JS 序列图本身也在其 readme file. You could either store the image in the same repository or host the image externally (example: imgur) 中使用此语法。
希望这对您有所帮助。