Skip to content

Commit

Permalink
Fix heading increment
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena authored Nov 23, 2023
1 parent a221dbb commit ca1a725
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .markdownlint.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"default": true,
// Disabled, as some callouts include headings.
"header-increment": false,
"heading-increment": false,
"ul-style": {
"style": "dash"
},
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/cssfontpalettevaluesrule/name/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/@page/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
6 changes: 3 additions & 3 deletions files/en-us/web/css/timeline-scope/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -62,7 +62,7 @@ The HTML for the example is shown below.
</div>
```

#### CSS
### CSS

The CSS is as follows.

Expand Down Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,13 +215,13 @@ The `<link>` 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:

Expand Down

0 comments on commit ca1a725

Please sign in to comment.