Skip to content

Commit 1cf568d

Browse files
committed
add remark and check_links
1 parent 82efd6f commit 1cf568d

File tree

4 files changed

+42
-0
lines changed

4 files changed

+42
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Check Markdown links
2+
3+
# checking for any dead links in markdown files
4+
5+
on: push
6+
7+
jobs:
8+
markdown-link-check:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@master
12+
- uses: gaurav-nelson/github-action-markdown-link-check@v1

.prettierrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parser": "markdown",
3+
"proseWrap": "always",
4+
"tabWidth": 2,
5+
"overrides": [
6+
{
7+
"files": "*.md",
8+
"options": {
9+
"tabWidth": 4
10+
}
11+
}
12+
]
13+
}

.remarkrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"plugins": [
3+
"preset-lint-consistent",
4+
"preset-lint-markdown-style-guide",
5+
"preset-lint-recommended",
6+
["lint-no-duplicate-headings", false],
7+
["lint-list-item-indent", "tab-size"],
8+
["lint-maximum-line-length", true],
9+
["lint-maximum-heading-length", false]
10+
]
11+
}

npm-requirements.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
remark-cli@5.0.0
2+
remark-lint@6.0.2
3+
remark-preset-lint-recommended@3.0.2
4+
remark-preset-lint-markdown-style-guide@2.1.2
5+
remark-preset-lint-consistent
6+

0 commit comments

Comments
 (0)