Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

AQL syntax highlighter #1032

Merged
merged 9 commits into from
Jun 23, 2022
Merged

AQL syntax highlighter #1032

merged 9 commits into from
Jun 23, 2022

Conversation

Simran-B
Copy link
Collaborator

@Simran-B Simran-B commented Jun 20, 2022

  • Custom Pygments lexer to properly colorize AQL queries
    • Works with most queries, but there are some corner cases to avoid (e.g. variables called keep, prune, search, and to, comments between WITH COUNT INTO or a function name and the opening parenthesis).
    • The highlighter is not used for @EXAMPLE_AQL (not done using Jekyll/Rouge)
    • Go implementation: https://github.com/Simran-B/chroma/tree/aql
  • Tweaks to the style configuration
  • Replace ```js fenced code blocks with ```aql for AQL queries and execution plans

@Simran-B Simran-B self-assigned this Jun 20, 2022
@Simran-B Simran-B added this to the 3.10 milestone Jun 20, 2022
@Simran-B Simran-B requested a review from ansoboleva June 20, 2022 19:32
@ansoboleva ansoboleva merged commit a82085b into main Jun 23, 2022
@ansoboleva ansoboleva deleted the aql-lexer branch June 23, 2022 07:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants