Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update the formatting of the template variables

Andrew Smith450ddabcfa79
diff --git a/apps/docs/pages/guides/cli/customizing-email-templates.mdx b/apps/docs/pages/guides/cli/customizing-email-templates.mdx
index 8a9e905dcba..0de1dd95101 100644
--- a/apps/docs/pages/guides/cli/customizing-email-templates.mdx
+++ b/apps/docs/pages/guides/cli/customizing-email-templates.mdx
@@ -32,16 +32,16 @@ These settings are only for local development, if you want to use the same conte
### Email template variables
-The following template variables are available inside of your email template.
-
-```
-{{ .ConfirmationURL }} : URL to confirm the email change
-{{ .Token }} : The 6-digit numeric email OTP
-{{ .TokenHash }} : The hashed token used in the URL
-{{ .SiteURL }} : The URL of the site
-{{ .Email }} : The original users email address
-{{ .NewEmail }} : The users new email address
-```
+The templating system provides the following variables for use:
+
+| Name | Description |
+| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `{{ .ConfirmationURL }}` | Contains the confirmation URL. For example, a signup confirmation URL would look like: `https://project-ref.supabase.co/auth/v1/verify?token={{ .TokenHash }}&type=signup&redirect_to=https://example.com/path` . |
+| `{{ .Token }}` | Contains a 6-digit One-Time-Password (OTP) that can be used instead of the `{{. ConfirmationURL }}` . |
+| `{{ .TokenHash }}` | Contains a hashed version of the `{{ .Token }}`. This is useful for constructing your own email link in the email template. |
+| `{{ .SiteURL }}` | Contains your application's Site URL. This can be configured in your project's [authentication settings](https://supabase.com/dashboard/project/_/auth/url-configuration). |
+| `{{ .Email }}` | Contains the user's email address. |
+| `{{ .NewEmail }}` | Contains the new user's email address. |
<Admonition type="note">