Skip to content

Conversation

@expenses
Copy link
Contributor

No description provided.

@expenses expenses marked this pull request as ready for review January 6, 2026 13:23
import CodeSnippetMD from "@slint/common-files/src/components/CodeSnippetMD.astro";


The `StyledText` type renders text with various styling and interactive properties, such as bolded, underlined and colored sections as well as HTTP links. It is based on a subset of the [commonmark](https://commonmark.org/) spec.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is under types and properties but it looks like the reference documentation for the element (as the quoted text says).

I suggest to either fold this into the styled text element reference docs or cross-link between them and disambiguate that this is about the property type, not the element. A way of disambiguating would be to use the actual property type in this file. But my preference is folding them for now.


Styled Text supports the following features:

- Italics
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of a plain list, I think it would be better to have a visual table, like here: https://commonmark.org/help/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants