Skip to content

API References

References about our API or AWS sercices apis?

Code highlighting

function demo() {
// This line (#2) and the next one are highlighted
return "This is line #3 of this snippet";
}
function demo() {
console.log("These are inserted and deleted marker types");
// The return statement uses the default marker type
return true;
}
function thisIsJavaScript() {
// This entire block gets highlighted as JavaScript,
// and we can still add diff markers to it!
console.log('Old code to be removed')
console.log('New and shiny code!')
}
my-test-file.js
console.log("Hello World!");
Installing dependencies…
npm install