GithubHelp home page GithubHelp logo

Comments (1)

lipengzhou avatar lipengzhou commented on June 16, 2024

一个合理的文档结构应该是下面这样的:

一级标题(一篇文档中有且仅有最大的一个标题)

二级标题(属于一级,在一级标题之下)

三级标题(属于父亲二级标题)

三级标题(属于父亲二级标题)

二级标题(属于一级,在一级标题之下)

三级标题(属于父亲二级标题)

三级标题(属于父亲二级标题)

二级标题(属于一级,在一级标题之下)

三级标题(属于父亲二级标题)

三级标题(属于父亲二级标题)

依次类推

当你直接在一级标题下方出现非二级标题的时候就会出现你文中的情况,并非主题编号的问题,结构本身的不合理用任何工具都没有作用,因为所谓的自动都必须有规则,没有规则就无法自动。

另外推荐一下一个良好的 Markdown 标题目录规则:

# 一级标题(不参与编号)

## 二级标题(1)

### 三级标题(1-1)

#### 四级标题(1-1-1)

#### 四级标题(1-1-2)

#### 四级标题(1-1-3)

### 三级标题(1-2)

#### 四级标题(1-2-1)

#### 四级标题(1-2-2)

#### 四级标题(1-2-3)

### 三级标题(1-3)

##  二级标题(2)

### 三级标题(2-1)

### 三级标题(2-2)

### 三级标题(2-3)

## 二级标题 (3)

### 三级标题(3-1)

### 三级标题(3-2)

### 三级标题(3-3)

注意:一个良好的文档中应该只有1个一级标题,就是最大标题(不参与编号)。

from typora-theme-auto-numbering.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.