@@ -45,6 +45,116 @@ user=> (reduce + 0 [1 2 3 4 5 6 7 8 6])
45
45
user=>
46
46
```
47
47
48
+ What about syntax highlighting for other languages/formats?
49
+
50
+ java
51
+ ``` java
52
+ public class HelloWorld {
53
+ public static void main (String [] args ) {
54
+ System . out. println(" Hello, World" );
55
+ }
56
+ }
57
+ ```
58
+
59
+ javascript
60
+ ``` javascript
61
+ console .log (' Hello, World!' );
62
+ ```
63
+
64
+ groovy
65
+ ``` groovy
66
+ class HelloWorld {
67
+ static void main(String[] args) {
68
+ println "Hello, World!"
69
+ }
70
+ }
71
+ ```
72
+
73
+ html
74
+ ``` html
75
+ <!DOCTYPE html>
76
+ <html >
77
+ <body >
78
+
79
+ <h1 >Hello World!</h1 >
80
+ <p >How's it going?</p >
81
+
82
+ </body >
83
+ </html >
84
+ ```
85
+
86
+ How about some common data encodings?
87
+ Cribbed from https://tennen.medium.com/xml-json-toml-yaml-which-one-is-the-secret-key-to-your-data-success-bc2895d609ae
88
+
89
+ xml
90
+ ``` xml
91
+ <album >
92
+ <title >The Symphony of Sounds</title >
93
+ <artist >The Virtuosos</artist >
94
+ <year >2022</year >
95
+ <tracks >
96
+ <track >
97
+ <title >Overture of Efficiency</title >
98
+ <duration >4:30</duration >
99
+ </track >
100
+ <track >
101
+ <title >Ballad of Simplicity</title >
102
+ <duration >5:20</duration >
103
+ </track >
104
+ </tracks >
105
+ </album >
106
+ ```
107
+
108
+ json
109
+ ``` json
110
+ {
111
+ "album" : {
112
+ "title" : " The Symphony of Sounds" ,
113
+ "artist" : " The Virtuosos" ,
114
+ "year" : 2022 ,
115
+ "tracks" : [
116
+ {
117
+ "title" : " Overture of Efficiency" ,
118
+ "duration" : " 4:30"
119
+ },
120
+ {
121
+ "title" : " Ballad of Simplicity" ,
122
+ "duration" : " 5:20"
123
+ }
124
+ ]
125
+ }
126
+ }
127
+ ```
128
+
129
+ yaml
130
+ ``` yaml
131
+ album :
132
+ title : The Symphony of Sounds
133
+ artist : The Virtuosos
134
+ year : 2022
135
+ tracks :
136
+ - title : Overture of Efficiency
137
+ duration : 4:30
138
+ - title : Ballad of Simplicity
139
+ duration : 5:20
140
+ ` ` `
141
+
142
+ toml
143
+ ` ` ` toml
144
+ [album]
145
+ title = "The Symphony of Sounds"
146
+ artist = "The Virtuosos"
147
+ year = 2022
148
+
149
+ [[album.tracks]]
150
+ title = "Overture of Efficiency"
151
+ duration = "4:30"
152
+
153
+ [[album.tracks]]
154
+ title = "Ballad of Simplicity"
155
+ duration = "5:20"
156
+ ```
157
+
48
158
## Lists
49
159
50
160
Bulleted:
0 commit comments