Technical Document Standard
1. 概述
基于 Markdown 实现 《技术文档标准》(Technical Document Standard/TDS) 的 VSCode 扩展。
2. 功能
2.1. 插入章节 Insert Section
插入的章节会附带该要素的基本结构或示例。
- 文档配置
- 文档名称
- 文档信息
- 前言
- 引言
- 范围
- 规范性引用
- 术语和定义
- 符号和缩略语
- 核心表述
- 附录
- 参考文献
2.2. 多级编号 Multilevel Numbering
兼容对一般 markdown 文档的多级编号。
- 标题和段落 Heading and Paragraph
- 标题 Heading
- 删除 Delete
2.3. 预览 Preview
支持 LaTeX 公式、Mermaid 图表、代码框语法高亮。兼容对一般 markdown 文档导出 HTML 和 PDF。
- 不分页预览,可以另存为 HTML 等。
- 分页预览,自动生成目录、封面,可以打印为 PDF。
3. 页面配置
3.1. 不分页预览
---
subtitle: 副标题
noTip: true # 不显示预览提示
width: 1000px
headCenter: true
h2Center: true
---
3.2. 分页预览
---
subtitle: 副标题
noTip: true # 不显示预览提示
h2Center: true
size: A4 portrait # Letter landscape / 210mm 297mm / A4 portrait(默认)
addToc: true # 添加目录
margin: 3cm # 格式参考 CSS
---
| |