Skip to content

Refactor the datatypes to easily express the markdown elements - #12674

Draft
80avin wants to merge 3 commits into
slint-ui:masterfrom
80avin:markdown-dt-refactor
Draft

Refactor the datatypes to easily express the markdown elements#12674
80avin wants to merge 3 commits into
slint-ui:masterfrom
80avin:markdown-dt-refactor

Conversation

@80avin

@80avin 80avin commented Jul 28, 2026

Copy link
Copy Markdown
  • refactor(styled-text): replace StyledTextParagraph with ParagraphBlock enum
  • fixup: ungate rich_text_content, remove dead append_paragraph
  • fixup: handle unclosed heading at end of input
  • feat(core): update StyledText wrapper for ParagraphBlock enum

@80avin 80avin changed the title markdown dt refactor Refactor the datatypes to easily express the markdown elements Jul 28, 2026
@80avin
80avin marked this pull request as draft July 28, 2026 14:45
@80avin
80avin force-pushed the markdown-dt-refactor branch from 5e8d3d2 to 3caa842 Compare July 28, 2026 19:39
80avin added 3 commits July 29, 2026 01:42
…k enum

Replace StyledTextParagraph with a ParagraphBlock enum containing
only Text(RichText). Heading and HorizontalRule variants are excluded
from this refactoring branch and will be added in a follow-up.
@80avin
80avin force-pushed the markdown-dt-refactor branch from 3caa842 to 8390f99 Compare July 28, 2026 20:19
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.

1 participant