feat(android): add superscript and subscript support - #751
Draft
jnowakow wants to merge 1 commit into
Draft
Conversation
Ports the superscript (^text^) and subscript (~text~) rendering and style DSL support already present in react-native-enriched-markdown/android into the standalone android-enriched-markdown package, mirroring the approach used to add this to iOS (#724). The parser, AST node types, and the generic BaselineShiftSpan/BaselineShiftRenderer primitive were already present on main; this wires them up with dedicated renderers, style config, and the Compose markdownStyle DSL (superscript { } / subscript { } blocks). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KsUiMTVLS6cCLKQUvVQ8dt
Collaborator
Author
|
Blocked by #736 as it requires ability to pass |
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.
What/Why?
Ports the superscript (^text^) and subscript (
text) rendering and style DSL support already present in react-native-enriched-markdown/android into the standalone android-enriched-markdown package.Testing
PR Checklist