Skip to content

Comments

feat: q syntax files#14072

Open
benlubas wants to merge 1 commit intoquarto-dev:mainfrom
benlubas:push-powzpzxwqlnt
Open

feat: q syntax files#14072
benlubas wants to merge 1 commit intoquarto-dev:mainfrom
benlubas:push-powzpzxwqlnt

Conversation

@benlubas
Copy link
Contributor

@benlubas benlubas commented Feb 20, 2026

Description

Following this discussion #13936 (comment) with @cscheid

Syntax files from: here and here. I've modified the k file to remove the datetime regex which fail to parse for some reason.

I'm submitting this PR to add the q syntax highlighting files. As noted in that conversation, adding these files enabled syntax highlighting for q when I last tried it.

However, while testing on top of main, I have noticed some strange behavior. Maybe it's due to the pandoc version update?

```{python}
print("This is highlighted")
```

```{q}
show "this is not"
```

```q
show "but this is"
```

Maybe someone else will have a better idea of why that is?

Checklist

I have (if applicable):

  • filed a contributor agreement.
  • referenced the GitHub issue this PR closes
  • updated the appropriate changelog in the PR
  • ensured the present test suite passes
  • added new tests
  • created a separate documentation PR in Quarto's website repo and linked it to this PR

@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Feb 20, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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