markdown创建目录
提取目录:[toc]然后回车,会自动生成目录
测试标题一标题:使用# 加一个空格,没空格这里不行表格: |表头|表头|,这里要三个竖线包裹2个表头,然后回车即可
测试标题一
测试代码
<pre spellcheck="false" class="md-fences md-end-block ty-contain-cm modeLoaded" lang="" cid="n9" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: var(--monospace); font-size: 0.9em; display: block; break-inside: avoid; text-align: left; white-space: normal; background-image: inherit; background-size: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); position: relative !important; border: 1px solid rgb(231, 234, 237); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; padding: 8px 4px 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; background-position: inherit inherit; background-repeat: inherit inherit;">func configBase() {
//MARK: 键盘处理
IQKeyboardManager.shared.enable = true
IQKeyboardManager.shared.shouldResignOnTouchOutside = true
//MARK: 性别缓存
let defaults = UserDefaults.standard
if defaults.value(forKey: String.sexTypeKey) == nil {
defaults.set(1, forKey: String.sexTypeKey)
defaults.synchronize()
}
//MARK: 网络监控
reachability?.listener = { status in
switch status {
case .reachable(.wwan):
UNoticeBar(config: UNoticeBarConfig(title: "主人,检测到您正在使用移动数据")).show(duration: 2)
default: break
}
}
reachability?.startListening()
}</pre>
姓名 | 年龄 | 备注 |
---|---|---|
表格: |表头|表头|,这里要三个竖线包裹2个表头,然后回车即可
https://www.cnblogs.com/hider/p/11614688.html
标题:使用# 加一个空格,没空格这里不行
加粗实用 ctrl+B
注解
- 参数