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

Now tooltiped #4

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Now tooltiped #4

wants to merge 2 commits into from

Conversation

Iximiel
Copy link
Member

@Iximiel Iximiel commented Dec 13, 2024

@gtribello
This should solve the problem of the phantom newlines while copy-pasting things from the <pre> with the plumed prettied code, at least on Firefox/Linux, and on Firefox/Windows and Edge/Windows.

I also checked the colored code in the rendered markdown of gh, and they have used to color the various token, so I think is the way to go

Then we should talk about moving into using some external package to prepare the HTML parts (something like dominate, or check if beautifulsoup can help) to preserve the mental health of the next one that will dive into PlumedFormatter.py. For things like remembering to close the brackets is a bless

By testing on the WSL with python 3.12 I saw that the regexes of the lexer do not work there, we should investigate

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

Successfully merging this pull request may close these issues.

1 participant