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

Docs: Misplaced automatic keyword highlighting #5252

Closed
TimoEckstein opened this issue Apr 12, 2022 · 2 comments
Closed

Docs: Misplaced automatic keyword highlighting #5252

TimoEckstein opened this issue Apr 12, 2022 · 2 comments
Labels
area/examples area/install area/tutorials kind/docs Documentation related problems, ideas, requests kind/health For CI/testing/release process/refactoring/technical debt items triage/accepted A consensus emerged that this bug report, feature request, or other action should be worked on

Comments

@TimoEckstein
Copy link
Contributor

Description of the issue
In the documentation, it seems that some keywords are automatically highlighted out of context. This occurs when the code example is not pure python code. Examples are:

sudo apt-get install texlive-latex-base latexmk
add2virtualenv <paste modules from last command>
./check/pytest [files-and-flags-for-pytest]

Cirq version
cirq.master

@TimoEckstein TimoEckstein added the kind/health For CI/testing/release process/refactoring/technical debt items label Apr 12, 2022
@TimoEckstein
Copy link
Contributor Author

xref #5151

@95-martin-orion 95-martin-orion added triage/accepted A consensus emerged that this bug report, feature request, or other action should be worked on time/after-1.0 labels Apr 27, 2022
@verult verult added the kind/docs Documentation related problems, ideas, requests label Apr 30, 2022
@mhucka
Copy link
Contributor

mhucka commented Jan 31, 2025

Thank you for reporting this issue (so long ago!)

This appears to have been fixed at some point since then. Consequently, closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/examples area/install area/tutorials kind/docs Documentation related problems, ideas, requests kind/health For CI/testing/release process/refactoring/technical debt items triage/accepted A consensus emerged that this bug report, feature request, or other action should be worked on
Projects
Status: Done
Development

No branches or pull requests

6 participants