gotwarlost / istanbul

Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
Other
8.7k stars 787 forks source link

prettify - es6 template strings with a comment string #757

Open deployable opened 7 years ago

deployable commented 7 years ago

prettify turns template strings with a comment prefix inside the template string into a comment.

image

The same template string looks ok in the latest web prettify: https://jsfiddle.net/bh9z1qwz/1/ https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js