Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[新功能建议]html中的mermaid块转markdown #34

Open
hhhllll888 opened this issue Aug 21, 2023 · 3 comments
Open

[新功能建议]html中的mermaid块转markdown #34

hhhllll888 opened this issue Aug 21, 2023 · 3 comments

Comments

@hhhllll888
Copy link

Feature request(新功能建议)

例如
https://blog.csdn.net/wzj_whut/article/details/86231762
这个博客中的mermaid块,想转成原始博客并永久保存

@hhhllll888
Copy link
Author

hhhllll888 commented Aug 21, 2023

这个博客中的mermaid块原始代码可能是这样

sequenceDiagram
    客户端->>服务器: Client Hello( Random)
    note left of 客户端:客户端将自己支持的cipher suit<br/>和一个随机值random传给服务器. <br/>这个值将用于生成密钥
    服务器->>客户端:Server Hello( Random )
    note right of 服务器:服务器将选定的cipher suit<br/>和一个随机值random 传给客户端, <br/>这个值将用于生成密钥
    服务器->>客户端:Certificate证书
    note right of 服务器:把证书传给客户端,<br/> 证书中包括RSA私钥和签名 
    服务器->>客户端:Server Key Exchange
    note right of 服务器:服务端的密钥交换参数, <br/>根据算法的不同, <br/>参数也不同. <br/>(也可能没有这一步)
    服务器->>客户端:Hello Done
    note right of 服务器:服务器的参数传完了. <br/>轮到客户端传了
    客户端->>服务器:Certificate证书 
    note left of 客户端:客户端将自己的证书传给服务器. <br/>(通常情况下没这一步. <br/>除非要双向认证),
    客户端->>服务器:Client Key Exchange 
    note left of 客户端:客户端将自己<br/>的密钥交换参<br/>数传给服务器.
    loop
    客户端->>客户端: 
    end
    note left of 客户端:计算密匙。
    loop
    服务器->>服务器: 
    end
    note right of 服务器:计算密匙。
    客户端->>服务器:(6) Change Cipher Spec
    note left of 客户端:这个消息表明之后<br/>客户端消息都是加<br/>密的(对称加密)
    客户端->>服务器:(7) Encrypted Handshake Message
    note left of 客户端:加密的Handshake<br/>Finished消息.<br/>服务端需要解密才能处理 
    服务器->>客户端:(8) Change Cipher Spec
    note right of 服务器:这个消息表示之<br/>后的服务器消息<br/>都是经过加密处<br/>理的(对称加密)
    服务器->>客户端:(9) Encrypted Handshake Message 
    note right of 服务器:加密的Finished消息.<br/>客户端需要解密,<br/>才能处理
    客户端->>服务器:(7) Encrypted Application Message
    note left of 客户端:加密的应用层数据,<br/>比如Http Request
    服务器->>客户端:(9) Encrypted Application Message
    note right of 服务器:加密的应用层数据,<br/>比如Http Response

@hsl947
Copy link

hsl947 commented Sep 16, 2023

Feature request(新功能建议)

例如 https://blog.csdn.net/wzj_whut/article/details/86231762 这个博客中的mermaid块,想转成原始博客并永久保存

这个功能有待调研哦

@hhhllll888
Copy link
Author

Feature request(新功能建议)

例如 https://blog.csdn.net/wzj_whut/article/details/86231762 这个博客中的mermaid块,想转成原始博客并永久保存

这个功能有待调研哦

都可以,我只是提出一个想法,随时都可以关闭这个issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants