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
Special Formatting Not Working #142
Comments
Investigating. I'm wondering how the font object came to not exist or else no have a size attribute. Anyhow I've recreated this - thanks to your sample markdown, @yamsu. |
So we definitely have a |
And it has nothing to do with the previous bullets; It's all about the |
So it seems when python-pptx's If the run's font size is less than 24 points the baseline is dropped / raised by one amount. If greater a larger baseline adjustment is done. (This all appears to be how Powerpoint itself does it.) The solution for now is to test the run's font size. If it doesn't exist the code assumes the smaller baseline adjustment. I've tested this and it works. I'll investigate documentation and push this out in the next hour - as 4.1.2. (There's another urgent fix - for card slides - I need to get out.) |
Hi, I'm unable to add superscript or subscripts in bullets and tables.
I have updated the repo and tested on python 3.11 & 3.8
This is the markdown (Removed all meta options and templates). Incidentally, I get the same error with or without the metadata
This is the error:
The text was updated successfully, but these errors were encountered: