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

Syntax Highlight for plan #204

Open
anayrat opened this issue Jul 12, 2024 · 2 comments
Open

Syntax Highlight for plan #204

anayrat opened this issue Jul 12, 2024 · 2 comments

Comments

@anayrat
Copy link
Member

anayrat commented Jul 12, 2024

Hello,
I see more commits in v5 branch, thanks :)
I just wanted to let you know there is a lexer for explain in pygment : https://pygments.org/docs/lexers/#pygments.lexers.sql.PostgresExplainLexer

I don't know if/how this could be used in powa :)

@rjuju
Copy link
Member

rjuju commented Jul 12, 2024

Unfortunately the syntax highlighting is done with highlightjs. I don't know how much work it would be to do that from the backend and have it work on the frontend.

@anayrat
Copy link
Member Author

anayrat commented Jul 15, 2024

Oh, I see. Maybe I will try to add it to highlightjs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants