Skip to content

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