· 69 words · 1 min read
Test code highlighting
js
const a = 1;
console.log(a);
css
body {
background-color: #f0f0f0;
}
java
public class Test {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
python
print("Hello, World!")
react
import React from 'react';
function App() {
return (
<div>
<h1>Hello, World!</h1>
</div>
);
}
export default App;