Skip to content

Commit a405f7c

Browse files
committed
chore: format
1 parent fdd5fa2 commit a405f7c

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

docs/kratos/emails-sms/05_custom-email-templates.mdx

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,13 @@ Self-service flows trigger emails that use one of the following template types.
8888
flow conditions. The template type (for example `recovery_code_valid`) is passed as the value of the `template_type` field in the
8989
[HTTP delivery payload](./01_sending-emails-smtp.mdx#payload).
9090

91-
:::note While they refer to the same underlying template, template types are different from template names. The the template type
92-
(for example , `recovery_code_valid`) is the runtime identifier. The template name (for example, `recovery_code.valid`) is the
93-
configuration-time identifier. :::
91+
:::note
92+
93+
While they refer to the same underlying template, template types are different from template names. The template type (for example
94+
, `recovery_code_valid`) is the runtime identifier. The template name (for example, `recovery_code.valid`) is the
95+
configuration-time identifier.
96+
97+
:::
9498

9599
The following list of template types is imported directly from the Ory Kratos source code and stays in sync with it:
96100

@@ -120,13 +124,6 @@ source file above.
120124
| `verifiable_address_changed` | A verifiable address on an identity changes; sent to the previous address(es). | Only if the `notify_previous_addresses` hook is enabled. |
121125
| `stub` | Not sent in production. | Test stub used by the Ory Kratos test suite. It does not correspond to a real email. |
122126

123-
:::note
124-
125-
The `stub` type appears in the embedded source above because it is part of the `TemplateType` enum, but it is a test stub used by
126-
the Ory Kratos test suite and never produces a real email.
127-
128-
:::
129-
130127
## Using custom message templates
131128

132129
Templates can be customized to fit your own branding and requirements. If you don't customize a specific template, the system

0 commit comments

Comments
 (0)