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

SQL / PRQL syntax highlighting #42

Open
ramonverse opened this issue Mar 18, 2024 · 0 comments
Open

SQL / PRQL syntax highlighting #42

ramonverse opened this issue Mar 18, 2024 · 0 comments
Labels
prezelai_visual Old no-code version of pretzelai

Comments

@ramonverse
Copy link
Collaborator

ramonverse commented Mar 18, 2024

This is a feedback form user request.
Let's try to use codemirror npm i @uiw/react-codemirror

something like what we are doing for python but for SQL/PRQL
<CodeMirror minHeight="10px" theme={"light"} height="100%" className="w-full border h-[200px]" editable basicSetup={false} extensions={[ python(), minimalSetup({ syntaxHighlighting: true, }), ]} value={code} onChange={setCode} onKeyDown={handleKeyDown} />

samarsharma2030 added a commit to samarsharma2030/pretzelai that referenced this issue Mar 29, 2024
This commit adds SQL/PRQL syntax highlighting.
@prasoon2211 prasoon2211 added the prezelai_visual Old no-code version of pretzelai label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prezelai_visual Old no-code version of pretzelai
Projects
None yet
Development

No branches or pull requests

2 participants