romannurik / SlidesCodeHighlighter

A little web app that helps you copy+paste syntax-highlighted code into slide decks.
https://romannurik.github.io/SlidesCodeHighlighter/
Apache License 2.0
1.07k stars 94 forks source link

Font size is not preserved when copying into Slides #6

Closed dturner closed 4 years ago

dturner commented 7 years ago

When copying code into Slides the font size is not preserved. Example:

Code highlighter shows text at 40pt

image

But pasting into Slides text is set at 30pt

image

romannurik commented 7 years ago

Gah, not sure if there's much I can do about this :-/

romannurik commented 4 years ago

Yeah I think Google Slides does a px --> pt conversion, and I'm not sure it's worth updating this unless Keynote also does this conversion