Refactor the datatypes to easily express the markdown elements - #12674
Draft
80avin wants to merge 3 commits into
Draft
Refactor the datatypes to easily express the markdown elements#1267480avin wants to merge 3 commits into
80avin wants to merge 3 commits into
Conversation
80avin
commented
Jul 28, 2026
- 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
4 tasks
80avin
marked this pull request as draft
July 28, 2026 14:45
80avin
force-pushed
the
markdown-dt-refactor
branch
from
July 28, 2026 19:39
5e8d3d2 to
3caa842
Compare
…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
force-pushed
the
markdown-dt-refactor
branch
from
July 28, 2026 20:19
3caa842 to
8390f99
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.