Create custom markdown tag SwiftUI

Good afternoon.
I have a text with Markdown tags.

**TextBold**\n\n*TextItalic*\n\n> Text\n> Texttext\n\n[Link](https://www.google.com)\n\n<right>Text</right><center>Text</center><details>Text</details>

But the text contains custom tags that are not processed by Swift Text().

<right>Сместить текст вправо</right>
<center>Текст стоит по центру</center>
<details>
<summary>Нажми что бы развернуть текст</summary>
Текст, который свернут </details>

How can I teach Text () to read custom tags?

This post does not belong in either the Development or LLBuild categories.

Terms of Service

Privacy Policy

Cookie Policy