diff --git a/create/changelogs.mdx b/create/changelogs.mdx index e48b722a4..b3b493a62 100644 --- a/create/changelogs.mdx +++ b/create/changelogs.mdx @@ -106,6 +106,36 @@ The RSS feed publishes entries when you add new `Update` components and when mod RSS feed entries contain pure Markdown only. Components, code, and HTML elements are excluded. Use the `rss` property to provide alternative text descriptions for RSS subscribers when your updates include content that is excluded. +#### Importing snippets with Update components + +You can import [reusable snippets](/create/reusable-snippets) containing `Update` components into your changelog pages. Updates from imported snippets are automatically included in the RSS feed. + +```mdx Example changelog.mdx with snippet import +--- +title: "Changelog" +description: "Product updates and announcements" +rss: true +--- + +import LatestUpdates from "/snippets/latest-updates.mdx"; + + + + + Released a new version of the Spearmint flavor. + +``` + +```mdx Example snippets/latest-updates.mdx + + Added a new Wintergreen flavor. + + Released a new version of the Spearmint flavor, now with 10% more mint. + +``` + +Both absolute paths (`/snippets/latest-updates.mdx`) and relative paths (`../snippets/latest-updates.mdx`) are supported for snippet imports. + ```xml Example RSS feed