markdown教程

作业部落

vscode中md转pdf

首页

Markdown教程

博客搭建

博客编写工具

gitbook

window安装gitbook

  • 安装phantomjs
  • 安装Calibre

    制作静态网页电子书

  • gitbook build
  • gitbook serve

制作电子书pdf

  • gitbook pdf

https://blog.csdn.net/stu059074244/article/details/77767835

编辑器

写书

gitbook

安装
C:\Program Files (x86)\Calibre2

https://www.html.cn/archives/6622

-Markdown中使用mermaid画流程图
https://mermaidjs.github.io/

https://jingyan.baidu.com/article/ab69b2708cc5392ca7189fd7.html

1
2
3
4
5
6
7
8
graph TB
A[Apple]-->B{Boy}
A---C(Cat)
B.->D((Dog))
C==喵==>D

style A fill:#2ff,fill-opacity:0.1,stroke:#faa,stroke-width:4px
style D stroke:#000,stroke-width:8px;
1
2
3
4
5
graph LR
A[Square Rect] -- Link text --> B((Circle))
A --> C(Round Rect)
B --> D{Rhombus}
C --> D

使用mermaid画思维导图

1
2
3
4
5
6
graph LR
A[Markdown画图]
A-->B(流程图)
A-->C(时序图)
A-->D(思维导图)
A-->E(类图)

使用PlantUML Gravizo绘制类图

![Alt text](https://g.gravizo.com/svg?
digraph G {
main -> parse -> execute;
main -> init;
main -> cleanup;
execute -> make_string;
execute -> printf
init -> make_string;
main -> printf;
execute -> compare;
}
)

<img src=’https://g.gravizo.com/svg?
@startuml;

actor User;
participant “First Class” as A;
participant “Second Class” as B;
participant “Last Class” as C;

User -> A: DoWork;
activate A;

A -> B: Create Request;
activate B;

B -> C: DoWork;
activate C;

C –> B: WorkDone;
destroy C;

B –> A: Request Created;
deactivate B;

A –> User: Done;
deactivate A;

@enduml;

‘>

digraph
digraph

digraph G {
main -> parse -> execute;
main -> init;
main -> cleanup;
execute -> make_string;
execute -> printf
init -> make_string;
main -> printf;
execute -> compare;
}

showdoc

https://github.com/star7th/showdoc