diff --git a/.markdownlint.jsonc b/.markdownlint.jsonc index d6b3673af2c5ab5..d07886f1046e24b 100644 --- a/.markdownlint.jsonc +++ b/.markdownlint.jsonc @@ -5,7 +5,7 @@ { "default": true, // Disabled, as some callouts include headings. - "header-increment": false, + "heading-increment": false, "ul-style": { "style": "dash" }, diff --git a/files/en-us/web/api/cssfontpalettevaluesrule/name/index.md b/files/en-us/web/api/cssfontpalettevaluesrule/name/index.md index 26f202008f19374..5e98cbb76d05820 100644 --- a/files/en-us/web/api/cssfontpalettevaluesrule/name/index.md +++ b/files/en-us/web/api/cssfontpalettevaluesrule/name/index.md @@ -16,7 +16,7 @@ A string beginning with two dashes. ## Examples -## Read the at-rule's name +### Read the at-rule's name This example first defines an {{cssxref("@import")}} and an {{cssxref("@font-palette-values")}} at-rule. Then it reads the {{cssxref("@font-palette-values")}} rule and displays its name. As these rules live in the last stylesheet added to the document, the palette will be the second {{domxref("CSSRule")}} returned by the last stylesheet in the document (`document.styleSheets[document.styleSheets.length-1].cssRules`). So, `rules[1]` returns a {{domxref("CSSFontPaletteValuesRule")}} object, from which we can access `name`. diff --git a/files/en-us/web/api/gpurenderbundleencoder/setbindgroup/index.md b/files/en-us/web/api/gpurenderbundleencoder/setbindgroup/index.md index 45eae21c0d2d000..c32ae863b0a65d7 100644 --- a/files/en-us/web/api/gpurenderbundleencoder/setbindgroup/index.md +++ b/files/en-us/web/api/gpurenderbundleencoder/setbindgroup/index.md @@ -24,7 +24,7 @@ setBindGroup(index, bindGroup, dynamicOffsets, dynamicOffsetsStart, dynamicOffsetsLength) ``` -#### Parameters +### Parameters - `index` - : The index to set the bind group at. This matches the `n` index value of the corresponding [`@group(n)`](https://gpuweb.github.io/gpuweb/wgsl/#attribute-group) attribute in the shader code ({{domxref("GPUShaderModule")}}) used in the related pipeline. diff --git a/files/en-us/web/css/@page/index.md b/files/en-us/web/css/@page/index.md index 6ee8d2b72cfd6e0..7e556c68e92ebd2 100644 --- a/files/en-us/web/css/@page/index.md +++ b/files/en-us/web/css/@page/index.md @@ -195,7 +195,7 @@ Other margin-at rules include: @right-bottom ``` -#### Page-margin properties +### Page-margin properties The page-margin properties are the set of CSS properties can be set in any individual margin at-rule. They include: diff --git a/files/en-us/web/css/timeline-scope/index.md b/files/en-us/web/css/timeline-scope/index.md index 31975d7e9d00e6e..066795fd453e624 100644 --- a/files/en-us/web/css/timeline-scope/index.md +++ b/files/en-us/web/css/timeline-scope/index.md @@ -48,7 +48,7 @@ Allowed values for `timeline-scope` are: In this example, a scroll timeline named `--myScroller` is defined using the `scroll-timeline-name` property on the element with the `scroller` class (the scrolling element). This is then applied to the animation on the element with the `box` and `animation` classes (the animated element) using `animation-timeline: --myScroller`. The key point to note here is that the animated element is not a descendant of the scrolling element — to make this work, we increase the scope of the `--myScroller` timeline by setting `timeline-scope: --myScroller` on the {{htmlelement("body")}}. -#### HTML +### HTML The HTML for the example is shown below. @@ -62,7 +62,7 @@ The HTML for the example is shown below. ``` -#### CSS +### CSS The CSS is as follows. @@ -130,7 +130,7 @@ Next, we give the animated element some rudimentary styling, and apply an animat } ``` -#### Result +### Result Scroll the vertical bar on the pink area to see the square animate. diff --git a/files/en-us/web/progressive_web_apps/tutorials/cycletracker/manifest_file/index.md b/files/en-us/web/progressive_web_apps/tutorials/cycletracker/manifest_file/index.md index 148056c90a71469..36545ff38696439 100644 --- a/files/en-us/web/progressive_web_apps/tutorials/cycletracker/manifest_file/index.md +++ b/files/en-us/web/progressive_web_apps/tutorials/cycletracker/manifest_file/index.md @@ -215,13 +215,13 @@ The `` element is most commonly used to link to stylesheets and, with PWAs When using the `.webmanifest` extension, set `type="application/manifest+json"` if your server doesn't support that MIME type. -#### Task +### Task Save the manifest file that you have created in the steps above, then link to it from the `index.html` file. Optionally, link to a shortcut icon from your HTML as well. -#### Example solution +### Example solution The {{HTMLelement("head")}} of `index.html` may now look similar to: