Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add TypeScript syntax highlighting#249

Draft
sirreal wants to merge 1 commit into
masterAutomattic/syntaxhighlighter:masterfrom
add/typescript-syntaxAutomattic/syntaxhighlighter:add/typescript-syntaxCopy head branch name to clipboard
Draft

Add TypeScript syntax highlighting#249
sirreal wants to merge 1 commit into
masterAutomattic/syntaxhighlighter:masterfrom
add/typescript-syntaxAutomattic/syntaxhighlighter:add/typescript-syntaxCopy head branch name to clipboard

Conversation

@sirreal

@sirreal sirreal commented Oct 27, 2022

Copy link
Copy Markdown
Member

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
Copy Markdown
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.