Test: Syntax Highlight
html
<span class="foo">Hello</span>
javascript
function hello(name) {
const log = `Hello ${name}`;
console.log(`Hello ${name}`);
return log;
}
js
function hello(name) {
const log = `Hello ${name}`;
console.log(`Hello ${name}`);
return log;
}
typescript
function hello(name: string): string {
const log: string = `Hello ${name}`;
console.log(`Hello ${name}`);
return log;
}
ts
function hello(name: string): string {
const log: string = `Hello ${name}`;
console.log(`Hello ${name}`);
return log;
}
java
public static String hello(final String name) {
String log = "Hello " + name;
System.out.println(log);
return log;
}