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

文章命名规范 #52

Open
liziwl opened this issue Jul 13, 2021 · 0 comments
Open

文章命名规范 #52

liziwl opened this issue Jul 13, 2021 · 0 comments

Comments

@liziwl
Copy link
Member

liziwl commented Jul 13, 2021

默认都是相对路径,希望从根路径开始需要以 “/” 开头。

相对路径,以下两种方式等价
[文章名](whatever-folder-name)
[文章名](./whatever-folder-name)

绝对路径
[文章名](/whatever-folder-name)
  1. 文件夹名 whatever-folder-name,文件夹内有README.md 文件。

    • 引用方式: whatever-folder-name 文件夹相对当前md文件的路径

    •  [文章名](./whatever-folder-name)
  2. 不采用 README.md 为文件名, whatever-file-name.md

    • 引用方式:被引用文件whatever-file-name.md 相对当前md文件的路径,注意 md 文件后缀不可少。

    • [文章名](./whatever-file-name.md)
@liziwl liziwl pinned this issue Jul 13, 2021
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

1 participant