File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 94
94
.hljs-strong {
95
95
font-weight : bold;
96
96
}
97
+
98
+ .language-json .hljs-number ,
99
+ .language-json .hljs-literal {
100
+ color : var (--highlight-variable-font-color );
101
+ }
102
+
103
+ .language-json .hljs-attr {
104
+ color : var (--highlight-string-font-color );
105
+ }
Original file line number Diff line number Diff line change @@ -242,6 +242,39 @@ Why not have some YAML:
242
242
import: "optional:file:./dev.properties"
243
243
----
244
244
245
+ Or JSON:
246
+
247
+ [source,json,indent=0]
248
+ ----
249
+ {
250
+ "glossary" : {
251
+ "title" : "example glossary",
252
+ "GlossDiv" : {
253
+ "title" : "S",
254
+ "GlossList" : {
255
+ "GlossEntry" : {
256
+ "ID" : "SGML",
257
+ "SortAs" : "SGML",
258
+ "GlossTerm" : "Standard Generalized Markup Language",
259
+ "Acronym" : "SGML",
260
+ "Thing" : true,
261
+ "Size" : 12,
262
+ "Abbrev" : "ISO 8879:1986",
263
+ "GlossDef" : {
264
+ "para" : "A meta-markup language, used to create markup languages such as DocBook.",
265
+ "GlossSeeAlso" : [
266
+ "GML",
267
+ "XML"
268
+ ]
269
+ },
270
+ "GlossSee" : "markup"
271
+ }
272
+ }
273
+ }
274
+ }
275
+ }
276
+ ----
277
+
245
278
Or some HTTP that also has `nowrap` set:
246
279
247
280
[source,http,options="nowrap"]
You can’t perform that action at this time.
0 commit comments