diff --git a/_config.yml b/_config.yml index e5908211459f6e6ee998d1f9f7988ae92003cf85..65c2280b6bda7d712aaf181a8d0b9fa1ee3cf4cc 100644 --- a/_config.yml +++ b/_config.yml @@ -73,7 +73,7 @@ nav_sort: case_sensitive # Capital letters sorted before lowercase back_to_top: true back_to_top_text: "Back to top" -footer_content: "Copyright © 2017-2020 Patrick Marsceill. Distributed by an <a href=\"https://github.com/just-the-docs/just-the-docs/tree/main/LICENSE.txt\">MIT license.</a>" +footer_content: "Copyright © 2017-2020 Patrick Marsceill. Distributed by an <a href=\"https://github.com/just-the-docs/just-the-docs/tree/main/LICENSE.txt\">MIT license.</a> <a href=\"https://www.netlify.com/\">This site is powered by Netlify.</a>" # Footer last edited timestamp last_edit_timestamp: true # show or hide edit time - page must have `last_modified_date` defined in the frontmatter diff --git a/docs/index-test.md b/docs/index-test.md index b1aded069ae98801f9a93e721d0263ae67b61d39..6b41048dfe4b63a314af1fc5529b760a4fc800fd 100644 --- a/docs/index-test.md +++ b/docs/index-test.md @@ -94,6 +94,24 @@ end 1. Item three 1. Item four +### And an ordered list, continued: + +1. Item one +1. Item two + +Some text + +{:style="counter-reset:none"} +1. Item three +1. Item four + +### And an ordered list starting from 42: + +{:style="counter-reset:step-counter 41"} +1. Item 42 +1. Item 43 +1. Item 44 + ### And a nested list: - level 1 item diff --git a/docs/navigation-structure.md b/docs/navigation-structure.md index 41edccc1ab34a5d100ee07f03b1b572bab34d749..1ca74a1a52c3ba6fc7f573c8c5559057ea1485fe 100644 --- a/docs/navigation-structure.md +++ b/docs/navigation-structure.md @@ -246,7 +246,7 @@ To generate a Table of Contents on your docs pages, you can use the `{:toc}` met {: .no_toc .text-delta } 1. TOC - {:toc} +{:toc} ``` This example skips the page name heading (`#`) from the TOC, as well as the heading for the Table of Contents itself (`##`) because it is redundant, followed by the table of contents itself. To get an unordered list, replace `1. TOC` above by `- TOC`. diff --git a/package-lock.json b/package-lock.json index 18cb452dfd095f1dc86b4b709a58d9b29ce36480..7d9c9fcc5a347275eafd4c0537651f69a5836636 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3743,9 +3743,9 @@ "dev": true }, "prettier": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz", - "integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==", + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", + "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", "dev": true }, "prettier-linter-helpers": { diff --git a/package.json b/package.json index 87ecfff73f2ad793502589968063eb1a4f98f4af..fe398081b6658dafa696ab37b313841bd1ce23c2 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "devDependencies": { "stylelint": "^13.7.2", "@primer/css": "^15.2.0", - "prettier": "^2.6.2", + "prettier": "^2.7.1", "stylelint-config-prettier": "^8.0.2", "stylelint-config-primer": "^9.2.1", "stylelint-prettier": "^1.1.2",