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(client): support source code syntax highlighting in statement text #561

Merged
merged 1 commit into from
Dec 16, 2023

Conversation

fushar
Copy link
Member

@fushar fushar commented Dec 16, 2023

Resolves:

This can be done by adding data-lang attribute to pre. E.g.:

<pre data-lang="cpp">
int main() {}
</pre>
Before After
image image

@fushar fushar merged commit 5c6db43 into master Dec 16, 2023
8 checks passed
@fushar fushar deleted the rich-statement-text branch December 16, 2023 03:49
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.

1 participant