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

code blocks not redenring correctly in grip #349

Closed
luispresuelgit opened this issue Dec 23, 2021 · 4 comments
Closed

code blocks not redenring correctly in grip #349

luispresuelgit opened this issue Dec 23, 2021 · 4 comments

Comments

@luispresuelgit
Copy link

Actual output:

image

Expected output:

image

Enviroment:
$ python --version
Python 3.8.10

requirements.txt:

certifi==2021.10.8
charset-normalizer==2.0.9
click==8.0.3
docopt==0.6.2
Flask==2.0.2
grip==4.5.2
idna==3.3
importlib-metadata==4.10.0
itsdangerous==2.0.1
Jinja2==3.0.3
Markdown==3.3.6
MarkupSafe==2.0.1
path-and-address==2.0.1
Pygments==2.10.0
requests==2.26.0
urllib3==1.26.7
Werkzeug==2.0.2
zipp==3.6.0
@jpmvferreira
Copy link

I'm getting the same problem on a clean python venv.

Also, the entire file seems to be in black and white, without any coloring, in and outside the code blocks.
Here's the output in Github:
image

And here's the output when using grip:
image

However links work correctly, despise not being highlighted.

@sparktx-mark-welsh
Copy link

I'm seeing the same issue, Python 3.8.3

@Jach
Copy link

Jach commented Feb 6, 2022

This was fixed for me when I upgraded from my distro's grip-4.5.2-r2 to its current 4.6.0 version.

@luispresuelgit
Copy link
Author

luispresuelgit commented Mar 30, 2022

There was another error in the 4.6.0 version that wouldn't let me start grip itself. I just upgraded the latest version (at moment of this comment, 4.6.1) that was released today and seems to be working fine. I'll close this issue.

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

No branches or pull requests

4 participants