TEMPLATE
以下语法仅针对项目环境生效
Example #
01-嵌入html #
1).普通嵌入 #
<font style="font-size:1.3em;font-weight:bold;"> 目录 </font>
目录2).段落中的块元素展开折叠 #
截选自 tls-ssl: HP-ClientHello-实例分析,点击末尾的◐查看效果
TLS record:16
:Content type,(表示握手包);03 01
:Legacy version,(TLS 1.0);00 fd
:Length,(253);01 00 00 f9 03 ...... 0b 00 02 01 00
:Protocol message(s),因为类型 0x16 是一个握手包,所以按照握手包协议进一步解析。
Handshake protocol:01
:Message type,(ClientHello);00 00 f9
:Handshake message data length,(249);03 03
:Version,(TLS 1.2 [0x0303]);3a 67 f5 2b 44 ...... 58 28 b3 18 b4
:Random;3a 67 f5 2b
:GMT Unix Time,十进制值为 979891499; 在线转换 为我们时区的值: Fri Jan 19 2001 16:04:59 GMT+0800 (中国标准时间)44 11 e2 49 8e 32 6e 79 d2 ac 45 98 e8 1b 1c 74 94 3d 0d 2c 22 be 71 58 28 b3 18 b4
:Random Bytes;20
:Session ID length,(32);83 ce 5a f0 a0 a9 a0 a8 1e b2 b5 42 fc 2d db 66 03 2a c0 60 4b 4e 04 e1 c4 1b 12 b2 5f d5 f1 a1
:Session ID;00 1e
:Cipher Suites Length,(30);13 03 13 01 cc a9 c0 2b c0 23 c0 09 cc a8 c0 2f c0 27 c0 13 cc aa 00 9e 00 67 00 33 00 ff
:Cipher Suites,(两个字节为一组,总共 15 个);13 03
:Cipher Suite: TLS_CHACHA20_POLY1305_SHA256 (0x1303)13 01
:Cipher Suite: TLS_AES_128_GCM_SHA256 (0x1301)cc a9
:Cipher Suite: TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 (0xcca9)c0 2b
:Cipher Suite: TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (0xc02b)c0 23
:Cipher Suite: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 (0xc023)c0 09
:Cipher Suite: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA (0xc009)cc a8
:Cipher Suite: TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (0xcca8)c0 2f
:Cipher Suite: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (0xc02f)c0 27
:Cipher Suite: TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 (0xc027)c0 13
:Cipher Suite: TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA (0xc013)cc aa
:Cipher Suite: TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (0xccaa)00 9e
:Cipher Suite: TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 (0x009e)00 67
:Cipher Suite: TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 (0x0067)00 33
:Cipher Suite: TLS_DHE_RSA_WITH_AES_128_CBC_SHA (0x0033)00 ff
:Cipher Suite: TLS_EMPTY_RENEGOTIATION_INFO_SCSV (0x00ff)01
:Compression Methods Length,(1);00
:Compression Methods,(Compression Method: null (0));00 92
:Extensions Length,(146);00 17 00 00 00 ...... 0b 00 02 01 00
:Extensions;00 17 00 00
:[Type: extended_master_secret (23) Length: 0]00 16 00 00
:[Type: encrypt_then_mac (22) Length: 0]00 2b 00 05 04 03 04 03 03
:[Type: supported_versions (43) Length: 5 Supported Versions length: 4,TLS 1.3 (0x0304),TLS 1.2 (0x0303)]00 0a 00 10 00 0e 00 1d 00 1e 00 17 00 18 01 00 01 01 01 02
:[Type: supported_groups (10) Length: 16]00 0a
:[Type: supported_groups (10)]00 10
:[Length: 16]00 0e
:[Supported Groups List Length: 14]00 1d
:[Supported Group: x25519 (0x001d)]00 1e
:[Supported Group: x448 (0x001e)]00 17
:[Supported Group: secp256r1 (0x0017)]00 18
:[Supported Group: secp384r1 (0x0018)]01 00
:[Supported Group: ffdhe2048 (0x0100)]01 01
:[Supported Group: ffdhe3072 (0x0101)]01 02
:[Supported Group: ffdhe4096 (0x0102)]00 33 00 26 00 24 00 1d 00 20 54 38 8f 34 90 97 4d ab 70 78 09 dd 48 2c 2d 70 bd f6 82 ea c1 7d 2d 29 31 3b 3d 64 27 69 93 22
:[Type: key_share (51) Length: 38]00 33
:[Type: key_share (51)]00 26
:[Length: 38]00 24
:[Client Key Share Length: 36]00 1d
:[Group: x25519 (29)]00 20
:[Key Exchange Length: 32]54 38 8f 34 90 97 4d ab 70 78 09 dd 48 2c 2d 70 bd f6 82 ea c1 7d 2d 29 31 3b 3d 64 27 69 93 22
:[Key Exchange]00 05 00 05 01 00 00 00 00
:[Type: status_request (5) Length: 5 Certificate Status Type: OCSP (1) Responder ID list Length: 0 Request Extensions Length: 0 ]00 0d 00 30 00 2e 08 07 08 08 04 03 05 03 06 03 08 04 08 05 08 06 08 09 08 0a 08 0b 04 01 05 01 06 01 04 02 05 02 06 02 03 03 03 01 03 02 02 03 02 01 02 02
:[Type: signature_algorithms (13) Length: 48]00 0d
:[Type: signature_algorithms (13)]00 30
:[Length: 48]00 2e
:[Signature Hash Algorithms Length: 46]08 07
:[Signature Algorithm: ed25519 (0x0807)]08 08
:[Signature Algorithm: ed448 (0x0808)]04 03
:[Signature Algorithm: ecdsa_secp256r1_sha256 (0x0403)]05 03
:[Signature Algorithm: ecdsa_secp384r1_sha384 (0x0503)]06 03
:[Signature Algorithm: ecdsa_secp521r1_sha512 (0x0603)]08 04
:[Signature Algorithm: rsa_pss_rsae_sha256 (0x0804)]08 05
:[Signature Algorithm: rsa_pss_rsae_sha384 (0x0805)]08 06
:[Signature Algorithm: rsa_pss_rsae_sha512 (0x0806)]08 09
:[Signature Algorithm: rsa_pss_pss_sha256 (0x0809)]08 0a
:[Signature Algorithm: rsa_pss_pss_sha384 (0x080a)]08 0b
:[Signature Algorithm: rsa_pss_pss_sha512 (0x080b)]04 01
:[Signature Algorithm: rsa_pkcs1_sha256 (0x0401)]05 01
:[Signature Algorithm: rsa_pkcs1_sha384 (0x0501)]06 01
:[Signature Algorithm: rsa_pkcs1_sha512 (0x0601)]04 02
:[Signature Algorithm: SHA256 DSA (0x0402)]05 02
:[Signature Algorithm: SHA384 DSA (0x0502)]06 02
:[Signature Algorithm: SHA512 DSA (0x0602)]03 03
:[Signature Algorithm: SHA224 ECDSA (0x0303)]03 01
:[Signature Algorithm: SHA224 RSA (0x0301)]03 02
:[Signature Algorithm: SHA224 DSA (0x0302)]02 03
:[Signature Algorithm: ecdsa_sha1 (0x0203)]02 01
:[Signature Algorithm: rsa_pkcs1_sha1 (0x0201)]02 02
:[Signature Algorithm: SHA1 DSA (0x0202)]00 0b 00 02 01 00
:[Type: ec_point_formats (11) Length: 2 EC point formats Length: 1 EC point format: uncompressed (0)]
02-markdown语法 #
1). 普通文本 #
title: “post blog title” date: 2020-05-23
文本片段(Text Fragment),用于引用文档中内容高亮。定义参考 MDN Web Docs,样例参考 Advance:jdbc 中对Autoloading of JDBC drivers
的引用内容。限制:得在新标签页打开
2). 下面表格的形式展示各种小文本块 #
上标:X2 下标:O2 文本块2
粗体1 加粗2 斜体1 斜体2 删除线1删除线2斜体加粗1 斜体加粗2
3). 代码块 #
4). 任务列表 #
- GFM task list 1
- GFM task list 2
- GFM task list 3
- GFM task list 3-1
- GFM task list 3-2
- GFM task list 3-3
- GFM task list 4
- GFM task list 4-1
- GFM task list 4-2
5). 锚点链接 #
页外链接 mysql安装
页内锚点 05-emoji表示
03-图片缩放居中 #
04 标签页tabs #
Discover practical insights into VMware alternatives such as OpenStack and MicroCloud to transform your cloud infrastructure
End of standard support for 18.04 LTS - 31 May 2023
嗨!你知道我们有中文站吗?立即带我去! ›
Community-driven free software effort focused around the goal of providing a rich base platform for open source communities to build upon.
05-Emoji表示 #
💯 😝 😅 :neckbeard: 👿 ⭐ 💦 🔥
06-反斜杠转义 #
反斜杠 转义 `` # https://github.com/docsifyjs/docsify/issues/1881
single backslash (status: opening)07-段落逃逸 #
如果
end of the each li
需要跳出bullet,则需添加一空白行。需要注意空白行, 得预留一个跟外部顶格一样多的空格。比如start of file text
前面有四个空格,所以要添加有四个空格的空白行。paragraph
- inner paragraph
start of file text
1. li one 2. li two text of li two
Note
end of the each li [逃离一个]
Tip
end of the each li [逃离两个]
phase
第二个段落内容
逃离三个
逃离段落,最后一个段落添加空行,以及新开四个空格开头的空行,然后按照格式写正文即可。
两个紧挨着的
panel
,如果第一个有层级关系,比如在第二个开始之前添加前一行添加一个空格。并且添加换一个类似分割线(—)的东西。Coordinating Tasks #
- Handoffs (Each task enables, triggers, or calls next one Usually fastest but can be brittle)
- Callbacks to per-handler dispatcher
- Sets state, attachment, etc
- A variant of GoF Mediator pattern
- Queues (For example, passing buffers across stages)
- Futures
- When each task produces a result
- Coordination layered on top of join or wait/notify
Using PooledExecutor #
- A tunable worker thread pool
- Main method execute(Runnable r)
- Controls for:
- The kind of task queue (any Channel)
- Maximum number of threads
- Minimum number of threads
- “Warm” versus on-demand threads
- Keep-alive interval until idle threads die (to be later replaced by new ones if necessary)
- Saturation policy (block, drop, producer-runs, etc)
08-数学符号 #
dollar
$
符号逃逸:
class net.sf.cglib.proxy.Enhancer$EnhancerKey$$KeyFactoryByCGLIB$$7fb24d72行内的公式 \({\color{red}E=mc^2}\) 行内的公式,行内的 \({\color{green}log_2N}\) 公式,行内的 \({\color{purple}(\sqrt{3x-1}+(1+x)^2)}\) 公式,行内的 \({\color{blue}\sin(\alpha)^{\theta}=\sum_{i=0}^{n}(x^i + \cos(f))}\) 公式
多行公式
\[\displaystyle \left( \sum\_{k=1}^n a\_k b\_k \right)^2 \leq \left( \sum\_{k=1}^n a\_k^2 \right) \left( \sum\_{k=1}^n b\_k^2 \right) \]
\[\displaystyle \frac{1}{ \Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{ \frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} { 1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } } \]
\[f(x) = \int_{-\infty}^\infty \hat f(\xi)\,e^{2 \pi i \xi x} \,d\xi \]
Aligned equations work quite well:
\[\begin{aligned} a &= b + c \\ &= e + f \\ \end{aligned} \]
And matrices
\[\begin{bmatrix} 1 & 2 & 3 \\ a & b & c \end{bmatrix} \]
\[\begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{pmatrix} \]
\[\begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix} \]
09-查看mermaid版本号 #
info10-面板布局 #
Hello World #
If you are on widescreen, checkout the right panel, right there →
This is an example panel.
You can see it’s usage in practice in the docs listed below:please contact me if you use docsify-example-panels. i would like to display it here too.
11-文字样式 #
offical site
hello newlinehello world
hello world tip
hello newlinehello abc
Note
An alert of type ’note’ using global style ‘callout’.
Note
An alert of type ’note’ using alert specific style ‘flat’ which overrides global style ‘callout’.
My own heading
An alert of type ’tip’ using alert specific style ‘flat’ which overrides global style ‘callout’. In addition, this alert uses an own heading and hides specific icon.
Comment
An alert of type ‘comment’ using style ‘callout’ with default settings.
Tip
An alert of type ’tip’ using global style ‘callout’.
Warning
An alert of type ‘warning’ using global style ‘callout’.
Attention
An alert of type ‘attention’ using global style ‘callout’.
Tip
An alert of type ’tip’ using locality style ‘flat’.
Warning
An alert of type ‘warning’ using locality style ‘flat’.
Attention
An alert of type ‘attention’ using locality style ‘flat’.
扩展样式1
扩展样式2
12-折叠展开 #
default open
helloThis is a super cool(cow's vagina) title
This is a super cool paragraph
This is a super cool small paragraph Veni Vidi Vici13-在线渲染markdown和html #
14-控制p标签宽高以及代码块大小 #
Reference #
以下是github 语法 参见,好像不支持缩进书写,部分兼容本文档(docsify | hugo)语法
List
Note
the style content in the indent block
Note
Useful information that users should know, even when skimming content.
Tip
Helpful advice for doing things better or more easily.
[!IMPORTANT] Key information users need to know to achieve their goal.
Warning
Urgent info that needs immediate user attention to avoid problems.
Caution
Advises about risks or negative outcomes of certain actions.