Skip to content

Internal docs: Update code blocks in garbage_collector.md to improve syntax highlighting #126882

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

Closed
tomasr8 opened this issue Nov 15, 2024 · 2 comments
Labels
docs Documentation in the Doc dir easy

Comments

@tomasr8
Copy link
Member

tomasr8 commented Nov 15, 2024

Code blocks in garbage_collector.md are annotated with pycon which doesn't play well GitHub's syntax highlighting (and neither with VS Code's Markdown preview):

image

I suggest we change that to python which highlights the code blocks properly:

image

Linked PRs

@tomasr8 tomasr8 added docs Documentation in the Doc dir easy labels Nov 15, 2024
@bhagwant4040

This comment was marked as off-topic.

@javert42
Copy link
Contributor

javert42 commented Nov 15, 2024

This is my first attempt at a contribution (to any project--not just cpython), so I welcome any feedback!

I still need to sign the CLA, and figure out how step number 8 from the Developer's Guide applies.
I signed the CLA, and I'm assuming this change won't need a NEWS entry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir easy
Projects
Status: Todo
Development

No branches or pull requests

4 participants