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

README: add color lexing to bibtex #1820

Merged
merged 4 commits into from
Jan 29, 2024

Conversation

adamjstewart
Copy link
Collaborator

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jan 23, 2024
@calebrob6
Copy link
Member

Weird, I'm not seeing anything different:

image

@calebrob6
Copy link
Member

I think "```bibtex" is correct, but it doesn't get rendered differently in markdown (but does in my editor after specifying bibtex)

image

@adamjstewart
Copy link
Collaborator Author

That's what I tried first but it didn't seem to work, then it did start to work. I think it's a browser caching thing. Let's try bibtex again.

@adamjstewart
Copy link
Collaborator Author

Still seems buggy. It renders with colors for a second during a refresh and then goes back to black-and-white.

@adamjstewart
Copy link
Collaborator Author

FWIW, both bib and bibtex should work: https://pygments.org/docs/lexers/#lexers-for-bibtex-bibliography-data-and-styles

@calebrob6
Copy link
Member

I agree / observed the same

@adamjstewart
Copy link
Collaborator Author

It works in this example: https://github.com/awesome-spectral-indices/awesome-spectral-indices?tab=readme-ov-file#citation

I say we merge and assume it will work.

@adamjstewart adamjstewart enabled auto-merge (squash) January 29, 2024 13:15
@adamjstewart adamjstewart merged commit 643bc7a into microsoft:main Jan 29, 2024
21 checks passed
@adamjstewart adamjstewart deleted the readme/bib branch January 29, 2024 13:55
@adamjstewart adamjstewart added this to the 0.5.2 milestone Feb 29, 2024
isaaccorley pushed a commit that referenced this pull request Mar 2, 2024
* README: add color lexing to bibtex

* Try again

* Try bibtex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants