honkit
honkit copied to clipboard
The language of the block has spaces
Summary
- HonKit version: 3.6.20
Step to reproduce
1.The language of the block has spaces. eg: ```http request

What is expected result? and What is actual result?
code :
expected:
actual: 
You need to use http language by two reasons.
Current markdown parser does not support the lang which has spaces. we need to recreate markdown plugin #96
HonKit use highlight.js. highlight.js does support http lang, but it does not support http-request lang.
```http
POST /task?id=1 HTTP/1.1
Host: example.org
Content-Type: application/json; charset=utf-8
Content-Length: 137
{
"status": "ok",
"extended": true,
"results": [
{"value": 0, "type": "int64"},
{"value": 1.0e+3, "type": "decimal"}
]
}
```

Thanks, i know what i need to do