fix: Do not escape strings inside code blocks (#155)

This commit is contained in:
Khosrow Moossavi
2020-01-12 15:20:12 -05:00
committed by GitHub
parent ae21471875
commit 82e87aa264
51 changed files with 431 additions and 85 deletions

View File

@@ -1,7 +1,10 @@
/**
* Usage:
*
* module "foo" {
* Example of 'foo_bar' module in `foo_bar.tf`.
*
* ```hcl
* module "foo_bar" {
* source = "github.com/foo/bar"
*
* id = "1234567890"
@@ -15,6 +18,7 @@
* Date-Created = "20180101"
* }
* }
* ```
*/
resource "tls_private_key" "baz" {}

View File

@@ -100,3 +100,8 @@ This description is itself markdown.
It spans over multiple lines.
EOF
}
variable "no-escape-default-value" {
description = "The description contains `something_with_underscore`. Defaults to 'VALUE_WITH_UNDERSCORE'."
default = "VALUE_WITH_UNDERSCORE"
}