Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subscript,superscript tags not working #34

Open
hjha1011 opened this issue Jun 29, 2022 · 2 comments
Open

subscript,superscript tags not working #34

hjha1011 opened this issue Jun 29, 2022 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@hjha1011
Copy link

I am using the below code to use subscripts and superscripts but not getting the desired output.

<p>This text contains <sup>superscript</sup> text.</p>```
I there any way to tackle it?
@tirmey
Copy link

tirmey commented Aug 25, 2022

Maybe you can provide a stylesheet to style super/subscripts!

@danomatic
Copy link
Owner

I think the issue with this is that react-pdf renders certain text as Text elements and they don't have margin/padding support. I'm not sure how to solve this yet.

@danomatic danomatic added bug Something isn't working help wanted Extra attention is needed enhancement New feature or request and removed bug Something isn't working labels Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants