Add new properties to figure shortcode #223
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
validate-documentation.yml
on: pull_request
doc-validator
16s
prettier
20s
test
17s
vale
14s
Report readability
9s
Annotations
1 error and 2 warnings
prettier
Process completed with exit code 1.
|
Report readability
The following actions uses node12 which is deprecated and will be forced to run on node16: Rebilly/lexi@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
prettier:
docs/sources/write/shortcodes/index.md#L256
[prettier] reported by reviewdog 🐶
Raw Output:
docs/sources/write/shortcodes/index.md:256:-| Parameter | Description | Required |
docs/sources/write/shortcodes/index.md:257:-| -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
docs/sources/write/shortcodes/index.md:258:-| `alt` | If set, `alt` specifies the alt text for the image. | no |
docs/sources/write/shortcodes/index.md:259:-| `animated-gif` | If set, the HTML contains a div with an image link instead of a `<figure>` element. It's typically used for animated screenshots. Shortcode parameters other than the _caption_ and _maxWidth_ parameters are ignored. | no |
docs/sources/write/shortcodes/index.md:260:-| `caption` | Describes the figure using a [`<figcaption>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption) element. | no |
docs/sources/write/shortcodes/index.md:261:-| `caption-align` | Can be used to change the alignment of the `caption` property. Accepted values are `left`, `center`, and `right`. | no |
docs/sources/write/shortcodes/index.md:262:-| `class` | Can be used to override the HTML class for the `<figure>` element. | no |
docs/sources/write/shortcodes/index.md:263:-| `link-class` | Can be used to override the HTML class for the `<a>` element. | no |
docs/sources/write/shortcodes/index.md:264:-| `lazy` | If set to `"false"`, an additional `lazyload` class is **not** applied to the image. The `lazyload` class lets a browser render a page before the figure image loads. Once the image loads, the placeholder box transitions to the loaded image. Defaults to `"true"`. | no |
docs/sources/write/shortcodes/index.md:265:-| `lightbox` | If set to `"true"`, an additional `figure-wrapper__lightbox` class is applied to the `<figure>`. | no |
docs/sources/write/shortcodes/index.md:266:-| `link` | If set the value overrides the `src` shortcode parameter as the value to the `href` in the `<a>` element in the `<figure>`. | no |
docs/sources/write/shortcodes/index.md:267:-| `height` | If set, `_height_` controls the height of the `<figure>` using the [`height`](https://developer.m
|