# Code block 1
def greet():
print("Hello, world!")// Code block 2
function greet() {
console.log("Hello, world!");
}Escaped
<div style="display: flex; gap: 1rem;">
<div style="flex: 1;">
```python
# Code block 1
def greet():
print("Hello, world!")
```
</div>
<div style="flex: 1;">
```javascript
// Code block 2
function greet() {
console.log("Hello, world!");
}
```
</div>
</div> <!-- close flex container to start showing things below -->GitHub markdown is more strict and strips out styles, so the approach above won't work in GitHub.