Rspress supports MDX, a powerful way to develop content.
MDX is a superset of Markdown, which means you can write Markdown files as usual. For example:
By default, Rspress will automatically generate ids based on the content of each title. This id will also serve as the content of the anchor. You can use the following syntax to customize the id of the header:
Where custom-id
is your custom id.