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

feat: Add pygments lexer for TQL #1506

Merged
merged 1 commit into from
Sep 18, 2024
Merged

feat: Add pygments lexer for TQL #1506

merged 1 commit into from
Sep 18, 2024

Conversation

Gashmob
Copy link
Member

@Gashmob Gashmob commented Sep 16, 2024

It allow to have syntax highlight for TQL code blocks

@Gashmob Gashmob force-pushed the tql-pygment-highlight branch 2 times, most recently from f39366d to f0b6487 Compare September 18, 2024 09:48
@Gashmob
Copy link
Member Author

Gashmob commented Sep 18, 2024

I'm open to modifications on the style and colors. Full list of pygments token is here https://pygments.org/docs/tokens/ + rules for writing style https://pygments.org/docs/styledevelopment/

languages/en/_pygments/tuleap_style.py Outdated Show resolved Hide resolved
It allow to have syntax highlight for TQL code blocks

Block code are now highlighted with Tuleap style
@nterray nterray merged commit f8a12b6 into master Sep 18, 2024
3 checks passed
@nterray nterray deleted the tql-pygment-highlight branch September 18, 2024 13:15
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.

2 participants