Skip to content

Commit b073daf

Browse files
committed
Update examples and highlight bundle
1 parent cc14623 commit b073daf

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

demo/examples.js

+1-15
Original file line numberDiff line numberDiff line change
@@ -106,20 +106,6 @@ window.hljsExamples.javascript = `function $initHighlight(block, cls) {
106106
107107
export $initHighlight;`;
108108

109-
window.hljsExamples.http = `POST /task?id=1 HTTP/1.1
110-
Host: example.org
111-
Content-Type: application/json; charset=utf-8
112-
Content-Length: 137
113-
114-
{
115-
"status": "ok",
116-
"extended": true,
117-
"results": [
118-
{"value": 0, "type": "int64"},
119-
{"value": 1.0e+3, "type": "decimal"}
120-
]
121-
}`;
122-
123109
window.hljsExamples.sql = `CREATE TABLE "topic" (
124110
"id" serial NOT NULL PRIMARY KEY,
125111
"forum_id" integer NOT NULL,
@@ -149,7 +135,7 @@ genApacheConf(){
149135
echo -e "# Host \${HOME_DIR}$1/$2 :"
150136
}`;
151137

152-
window.hljsExamples.ini = `; boilerplate
138+
window.hljsExamples.toml = `; boilerplate
153139
[package]
154140
name = "some_name"
155141
authors = ["Author"]

demo/highlight.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)