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 support for CoffeeScript triple backticks #1358

Merged

Conversation

GeoffreyBooth
Copy link
Contributor

@GeoffreyBooth GeoffreyBooth commented Nov 20, 2016

CoffeeScript has a triple backtick operator now, to support JavaScript blocks without needing to escape the backticks inside:

time = ```function () {
  return `The time is ${new Date().toLocaleTimeString()}`;
}
```

@GeoffreyBooth
Copy link
Contributor Author

Anything wrong with this?

@isagalaev isagalaev merged commit b927b46 into highlightjs:master Dec 14, 2016
@isagalaev
Copy link
Member

Nothing wrong, just your regular open source maintainer with no time for the thing they maintain :-)
Thank you for the contribution!

@GeoffreyBooth
Copy link
Contributor Author

Thanks!

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.

2 participants