Code blocks support for all formats. Single line break support (#123)

*  HTML-ize code blocks inside a markdown table. Single line break.

 Add support for embedding markdown code blocks inside markdown tables

 Add support for single-line breaks: when the line ends with 2 spaces, place
 a single <br>.

* Fix the testsuite, todo improve the escape code for document

* Add the WithIndent testdata
This commit is contained in:
Hugues Malphettes
2019-12-12 03:48:49 +08:00
committed by Khosrow Moossavi
parent ec346a0fe8
commit ab42f0d097
27 changed files with 297 additions and 8 deletions

View File

@@ -57,3 +57,18 @@ variable "input-with-pipe" {
description = "It includes v1 | v2 | v3"
default = "v1"
}
variable "input-with-code-block" {
description = <<EOD
This is a complicated one. We need a newline.
And an example in a code block
```
default = [
"machine rack01:neptune"
]
```
EOD
default = [
"name rack:location"
]
}