60 lines
720 B
Markdown
60 lines
720 B
Markdown
---
|
|
layout: post
|
|
title: "Code blocks"
|
|
date: 2024-06-11 21:42:00 -0400
|
|
---
|
|
|
|
A few code blocks you might like
|
|
|
|
```html
|
|
<p>Test only</p>
|
|
<div id="hi"><span></span></div>
|
|
```
|
|
|
|
```bash
|
|
echo "hello world" > testfile.txt
|
|
cat testfile.txt
|
|
```
|
|
|
|
```javascript
|
|
console.log("Hello world");
|
|
console.error("Something happened");
|
|
```
|
|
|
|
```yaml
|
|
steps:
|
|
testmessage:
|
|
image: ubuntu
|
|
commands:
|
|
- echo "Hello world"
|
|
- echo "I run on TTGit"
|
|
```
|
|
|
|
```json
|
|
[
|
|
{
|
|
"id": "0",
|
|
"name": "shaun",
|
|
"website": "https://www.ttnrtsite.me"
|
|
}
|
|
]
|
|
```
|
|
|
|
```css
|
|
html {
|
|
background-color: black;
|
|
color: white;
|
|
user-select: none;
|
|
}
|
|
|
|
body {
|
|
height: 100vh;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
```
|
|
|
|
```markdown
|
|
# Heading 1
|
|
Something **NEW**
|
|
``` |