riccardoperra / codeimage

A tool to beautify your code screenshots. Built with SolidJS and Fastify.
https://codeimage.dev
MIT License
1.3k stars 70 forks source link

Python string color highlighting can glitch out #567

Closed rsftb closed 9 months ago

rsftb commented 9 months ago

Which @codeimage/* package(s) are the source of the bug?

Don't known / other

Please provide a screenshot or a video to a minimal reproduction of the bug

IMG_3894

Description

Sometimes the colored strings starts coloring text outside of the string. Provided a screenshot of the issue

Which browsers have you used?

Which operating systems have you used?

riccardoperra commented 9 months ago

Unfortunately I haven't any knowledge of python and the highlighting is handled by CodeMirror :(

Sometimes this is caused due to some special cases or new language highlighting features that aren't already supported by the library I use