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

Superscript/subscript #299

Closed
styts opened this issue Apr 3, 2019 · 4 comments
Closed

Superscript/subscript #299

styts opened this issue Apr 3, 2019 · 4 comments
Labels

Comments

@styts
Copy link

styts commented Apr 3, 2019

Hi,

Could you please provide support for subscript/superscript for docx files?

<w:r w:rsidRPr="000E3A17">
<w:rPr>
<w:vertAlign w:val="superscript" /></w:rPr>
<w:t>this is a superscript</w:t>
</w:r>

Something like pObj.addText('super', { superscript: true }).

@Ziv-Barber Ziv-Barber added the Feature request A new feature request label Apr 3, 2019
@Ziv-Barber
Copy link
Owner

OK, this is easy. You'll get it in the next version that I'm going to release in the next days.

Ziv

@Ziv-Barber
Copy link
Owner

Already implemented for the next release.
If you really need it now, you can find it in the 'dev' branch.

@styts
Copy link
Author

styts commented Apr 3, 2019

Thank you! I didn't expect it to go so quick, but because it was a dealbreaker I ended up using a competing library that already had this feature: docx.

@Ziv-Barber
Copy link
Owner

Added in 0.5.0 now out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants