Skip to content

feat(android): add superscript and subscript support - #751

Draft
jnowakow wants to merge 1 commit into
mainfrom
feat/android-superscript-subscript
Draft

feat(android): add superscript and subscript support#751
jnowakow wants to merge 1 commit into
mainfrom
feat/android-superscript-subscript

Conversation

@jnowakow

@jnowakow jnowakow commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

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

  • Code compiles and runs on iOS
  • Code compiles and runs on Android
  • Updated documentation/README if applicable
  • Ran example app to verify changes
  • E2E tests are passing
  • Required E2E tests have been added (if applicable)

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
@jnowakow

jnowakow commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator Author

Blocked by #736 as it requires ability to pass Md4cFlags to enable both superscript and subscript.

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