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

Add TypeScript syntax highlighting #249

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

sirreal
Copy link
Member

@sirreal sirreal commented Oct 27, 2022

Changes proposed in this Pull Request

Add TypeScript syntax.

Add brush based on:
https://github.com/syntaxhighlighter/brush-typescript/blob/07d5fa0a57527d2f11d601676ea68a6ab91d3e6d/brush.js

Fixes #214

Work in progress, the brush seems to have some issues.

Testing instructions

New/Updated Hooks

Deprecated Code

Screenshot / Video

@@ -0,0 +1,38 @@
SyntaxHighlighter.brushes.ts = function () {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably needs to mention https://github.com/syntaxhighlighter/brush-typescript (MIT licensed)

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.

Add highlighting for TypeScript language
1 participant