diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 219eb30..a7787de 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,6 +1,6 @@ -> **Please read the [contribution guidelines](https://github.com/arcticicestudio/styleguide-markdown/blob/master/CONTRIBUTING.md) before filling out this issue template**. +> **Please read the [contribution guidelines](https://github.com/arcticicestudio/styleguide-markdown/blob/main/CONTRIBUTING.md) before filling out this issue template**. ## [Please follow one of the issue templates](https://github.com/arcticicestudio/styleguide-markdown/issues/new/choose) diff --git a/.github/ISSUE_TEMPLATE/bugs.md b/.github/ISSUE_TEMPLATE/bugs.md index 93feab9..a0e99db 100644 --- a/.github/ISSUE_TEMPLATE/bugs.md +++ b/.github/ISSUE_TEMPLATE/bugs.md @@ -14,7 +14,7 @@ This section and the instructions in the sections below are only part of this is Please do your best to provide as much information as possible and use a clear and descriptive title for your bug report to help maintainers and the community understand and reproduce the behavior, find related reports and to resolve the ticket faster. - **Ensure the bug has not already been reported by using the [GitHub Issues search](https://github.com/arcticicestudio/styleguide-markdown/issues)** — check if this enhancement has already been suggested. If it has **and the issue is still open**, add your additions as comment to the existing issue instead of opening a new one. If you find a closed issue that seems to be similar to this one, include a link to the original issue in the [metadata head](#metadata-head) section of this issue. -- **Ensure the bug is reproducible and has not already been fixed** — use the [latest version](https://github.com/arcticicestudio/styleguide-markdown/releases/latest) and [`master`](https://github.com/arcticicestudio/styleguide-markdown/tree/master) branch. +- **Ensure the bug is reproducible and has not already been fixed** — use the [latest version](https://github.com/arcticicestudio/styleguide-markdown/releases/latest) and [`main`](https://github.com/arcticicestudio/styleguide-markdown/tree/main) branch. ## Metadata Head diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index d655709..c0707c9 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,6 +1,6 @@ -> **Please read the [contribution guidelines](https://github.com/arcticicestudio/styleguide-markdown/blob/master/CONTRIBUTING.md) before filling out this pull request template**. +> **Please read the [contribution guidelines](https://github.com/arcticicestudio/styleguide-markdown/blob/main/CONTRIBUTING.md) before filling out this pull request template**. ## Prerequisites @@ -10,7 +10,7 @@ Please do your best to provide as much information as possible and use a clear a - **Ensure the pull request has not already been submitted by using the [GitHub Pull Request search](https://github.com/arcticicestudio/styleguide-markdown/pulls)** — check if this enhancement or bug fix has already been suggested. If it has **and the pull request is still open**, add your additions as comment or [suggest a change](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request#applying-a-suggested-change) to the existing pull request instead of opening a new one. If you find a closed pull request that seems to be similar to this one, include a link to the original pull request in the [metadata head](#metadata-head) section of this new pull request. - **Ensure to adhere to the [pull request contribution guidelines](https://github.com/arcticicestudio/styleguide-markdown/blob/main/CONTRIBUTING.md#pull-requests)**, especially the one for tests and documentations. -- **Check if the enhancement has already been implemented or bug already fixed** — use the [latest version](https://github.com/arcticicestudio/styleguide-markdown/releases/latest) and [`master`](https://github.com/arcticicestudio/styleguide-markdown/tree/master) branch to ensure that the enhancement or bug fix has not already been added. +- **Check if the enhancement has already been implemented or bug already fixed** — use the [latest version](https://github.com/arcticicestudio/styleguide-markdown/releases/latest) and [`main`](https://github.com/arcticicestudio/styleguide-markdown/tree/main) branch to ensure that the enhancement or bug fix has not already been added. ## Metadata Head diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1facfae..c460ee5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ name: ci on: push: branches: - - master + - main tags: - v* pull_request: diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c937f5..bae071e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -
+ @@ -50,7 +50,7 @@Copyright © 2018-present Arctic Ice Studio and Sven Greb
- + @@ -23,7 +23,7 @@ Add an alternative text for images. ```markdown ![snowflake icon][snowflake] -[snowflake]: https://raw.githubusercontent.com/arcticicestudio/styleguide-markdown/master/src/assets/snowflake.png +[snowflake]: https://raw.githubusercontent.com/arcticicestudio/styleguide-markdown/main/src/assets/snowflake.png ``` [a11y]: https://a11yproject.com diff --git a/src/rules/images.md b/src/rules/images.md index 11931e4..1906b31 100644 --- a/src/rules/images.md +++ b/src/rules/images.md @@ -21,7 +21,7 @@ Prefer absolute URLs instead of relative ones to improve the portability of the ```markdown ![snowflake icon][snowflake] snowflakes falling down in the winter! -[snowflake]: https://raw.githubusercontent.com/arcticicestudio/styleguide-markdown/master/src/assets/snowflake.png +[snowflake]: https://raw.githubusercontent.com/arcticicestudio/styleguide-markdown/main/src/assets/snowflake.png ``` ## Badges diff --git a/src/rules/index.md b/src/rules/index.md index 6fca054..a5961e2 100644 --- a/src/rules/index.md +++ b/src/rules/index.md @@ -1,4 +1,4 @@ - +This section contains rules for Markdown with support for GitHub Flavored Markdown which is based on the CommonMark specification. diff --git a/src/rules/raw-html.md b/src/rules/raw-html.md index 1e2795d..dc65259 100644 --- a/src/rules/raw-html.md +++ b/src/rules/raw-html.md @@ -38,13 +38,13 @@ Although MDN states that the `width` and `height` attributes are deprecated and ```markdown -Sparkling snowflakes falling down in the winter! +Sparkling snowflakes falling down in the winter! ``` No way to define the size: ```markdown -Sparkling ![snowflake icon](https://raw.githubusercontent.com/arcticicestudio/styleguide-markdown/master/src/assets/snowflake.png) snowflakes falling down in the winter! +Sparkling ![snowflake icon](https://raw.githubusercontent.com/arcticicestudio/styleguide-markdown/main/src/assets/snowflake.png) snowflakes falling down in the winter! ``` @@ -52,7 +52,7 @@ Sparkling ![snowflake icon](https://raw.githubusercontent.com/arcticicestudio/st ⇡ **Correct** code for this rule: ```markdown -Sparkling snowflakes falling down in the winter! +Sparkling snowflakes falling down in the winter! ``` ## Collapsed Content