1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00

Change {{< type shortcode to {{% (#1489)

Fix #1487, work around an error in the rendering of a {{< type shortcode in the autogenerated Table of Content of a page.
This commit is contained in:
aaaaalbert 2024-08-03 16:58:00 +00:00 committed by GitHub
parent 1f59ac9fde
commit 122e461f6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,7 +48,7 @@ aliases: [
**Version history:**\
4.0.0 - added
### `comment` {{<optional>}} {#comment}
### `comment` {{%optional%}} {#comment}
**Description:** An optional reason for the domain block.\
**Type:** String\
@ -59,4 +59,4 @@ aliases: [
{{< page-relref ref="methods/instance#domain_blocks" caption="GET /api/v1/instance/domain_blocks" >}}
{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/serializers/rest/domain_block_serializer.rb" caption="app/serializers/rest/domain_block_serializer.rb" >}}
{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/serializers/rest/domain_block_serializer.rb" caption="app/serializers/rest/domain_block_serializer.rb" >}}