Commit Graph
24 Commits
Author SHA1 Message Date
Bobby Rong 6f0335c6bf 凉粉: convert to UTF-8 2022-02-25 08:39:06 +08:00
Bobby Rong cf155c22d0 Revert "[ci skip] Automatic textlint fixes"
This reverts commit d5184a7e6b.
2022-02-25 08:35:14 +08:00
Bobby RongandGitHub 2a2f9bc827 Merge pull request #461 from HeZean/master
fix: unified full angle symbols
2022-02-24 19:08:17 +08:00
Bobby RongandGitHub 72cf62a9fd README: make linter happy
README.md:78: MD012 Multiple consecutive blank lines
2022-02-23 17:13:19 +08:00
Bobby RongandGitHub 18f49082bc gitignore: add .DS_Store
The file is used in macOS to stores custom attributes of its containing folder and should not be committed to this repository.

- https://github.com/github/gitignore/search?q=DS_Store
- https://en.wikipedia.org/wiki/.DS_Store
2022-02-23 10:49:18 +08:00
Bobby RongandGitHub 0f3f2ba266 Merge pull request #362 from wuzhim/master
修复错别字
2022-02-23 10:42:23 +08:00
Bobby RongandGitHub 699df9c7c7 水煮肉片: 6 层热 -> 6 成热
Fix typo.
2022-02-22 15:47:20 +08:00
Bobby RongandGitHub 02e05e5b52 Merge pull request #272 from Foustdg/patch-1
Update 水煮肉片.md
2022-02-22 01:46:14 -06:00
Bobby Rong 9f8bcbcfb8 treewide: Readme.md -> README.md
File names are case-sensitive in Linux :-)
2022-02-21 22:49:55 +08:00
Bobby RongandGitHub 529d6ef741 README: fix markdownlint
Note that markdownlint does not lint markdown files other than README.md currently, see
https://github.com/Anduin2017/HowToCook/pull/20#issuecomment-1046168077 for more details.
2022-02-21 22:25:15 +08:00
Bobby RongandGitHub f09dde308c Merge pull request #205 from renqiang06/小炒肉
小炒肉debug
2022-02-21 21:53:40 +08:00
Bobby RongandGitHub 0e2aa9e3f6 Merge pull request #91 from Anduin2017/Anduin2017-patch-1
Suppress MD024
2022-02-19 14:42:05 +08:00
Bobby Rong f0ba452c85 CI: add textlint
Instead of requesting changes in every pull requests and block them from merging,
we are trying to automate the process of adding missing spaces between half and
full-width characters using GitHub Actions.

The main idea is:

- Only run the workflow in the main repository (instead of other forks).
- Try to fix all files using textlint.
- Only commit files with .md extension.
- Directly push the change to the master branch.

Related projects:

- https://github.com/textlint/textlint
- https://github.com/textlint-ja/textlint-rule-preset-ja-spacing
- https://github.com/sparanoid/chinese-copywriting-guidelines

Related discussions:

- https://github.com/Anduin2017/HowToCook/pull/88
2022-02-19 14:21:45 +08:00
Bobby RongandGitHub 256755b858 Merge pull request #88: add textlintrc 2022-02-19 14:05:32 +08:00
Bobby RongandGitHub f715b393a0 Merge pull request #87 from ocfox/patch-1
修复了 盐量中符号 * 不会显示的问题
2022-02-18 22:50:59 +08:00
Bobby Rong 8613b265d5 lint: skip MD029 and MD036
Skipping:

* MD029 Ordered list item prefix
* MD036 Emphasis used instead of a header

These rules are not fully applied to this repository yet and
further discussion is probably needed on how to deal with them.

Example markdownlint run:

* https://github.com/Anduin2017/HowToCook/runs/5226805159
2022-02-17 12:09:19 +08:00
Bobby Rong d7d356c0dd lint: fix MD024
Multiple headers with the same content
2022-02-17 12:08:51 +08:00
Bobby Rong 63255f1581 lint: fix MD004
Unordered list style
2022-02-17 12:05:20 +08:00
Bobby Rong 798c19085d lint: fix MD032
Lists should be surrounded by blank lines
2022-02-17 12:04:48 +08:00
Bobby Rong 7cc1bd99e3 lint: fix MD001
Header levels should only increment by one level at a time
2022-02-17 12:03:11 +08:00
Bobby Rong d67b984ec6 lint: fix MD025
Multiple top level headers in the same document
2022-02-17 12:02:33 +08:00
Bobby Rong c5b7609c93 lint: fix MD012
Multiple consecutive blank lines
2022-02-17 12:01:40 +08:00
Bobby Rong c0cd9a3e73 lint: fix MD030
Spaces after list markers
2022-02-17 12:00:40 +08:00
Bobby Rong da1beca480 lint: fix MD009
Trailing spaces
2022-02-17 11:59:53 +08:00