Fix the line spacing for the codeblock

This commit is contained in:
Brandon Romano 2020-02-24 19:31:43 -05:00
parent 93414b7190
commit f2c119d3b0
3 changed files with 22 additions and 23 deletions

View file

@ -3036,9 +3036,9 @@
}
},
"@hashicorp/react-subnav": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@hashicorp/react-subnav/-/react-subnav-1.1.0.tgz",
"integrity": "sha512-DWUbEHzsHzawe4LCRq34GKZyxRpX1hE/hFA7n+Fb3NNJrxDCh9zLwAaDG82PcxymipLupgFZsl+kQeEj2Et/jw==",
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@hashicorp/react-subnav/-/react-subnav-1.1.1.tgz",
"integrity": "sha512-qxoXQbELN0KFqeQcUPjKkXMXBt7stW3kL/Oy+ex44pBZzKcGHihpGAmA6CRCNsFhrCCxo5hfbf91IR+xYOP4DQ==",
"requires": {
"@hashicorp/react-button": "^2.1.5",
"@hashicorp/react-global-styles": "^4.0.9",
@ -3046,18 +3046,6 @@
"@hashicorp/react-link-wrap": "0.0.3",
"@primer/octicons-react": "^9.4.0",
"isomorphic-unfetch": "^3.0.0"
},
"dependencies": {
"@hashicorp/react-button": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@hashicorp/react-button/-/react-button-2.1.5.tgz",
"integrity": "sha512-eE99jDgJMmK8B5z2VcC3qs4rBH+7OJi+vdCR1fdsCqFJOb3jw3mv1FsOT/Jd95q542usvGEOT9jeQqod9kVeVw==",
"requires": {
"@hashicorp/react-global-styles": "^4.0.9",
"@hashicorp/react-inline-svg": "^1.0.0",
"slugify": "^1.3.6"
}
}
}
},
"@hashicorp/react-text-and-content": {
@ -3114,13 +3102,24 @@
}
},
"@hashicorp/react-text-split-with-code": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/@hashicorp/react-text-split-with-code/-/react-text-split-with-code-0.0.3.tgz",
"integrity": "sha512-btzR51R+LHmPQ/U/jaeZ77z6Hok/JOtJV3YlyG3cw4fw4n1j1om4BT5NnkvNsbs9ryXJY8M+68xlm30hAmXyKQ==",
"version": "0.0.4",
"resolved": "https://registry.npmjs.org/@hashicorp/react-text-split-with-code/-/react-text-split-with-code-0.0.4.tgz",
"integrity": "sha512-x0lQhvwG25ICxMhf5VngZZzZuD7Wk2aWRTGm5gl9X1caLSrWgz7KpaKp/IwaS0Kjeqm20pyjwd8/9XinMVfFng==",
"requires": {
"@hashicorp/react-code-block": "^1.2.4",
"@hashicorp/react-code-block": "^1.2.5",
"@hashicorp/react-global-styles": "^4.0.9",
"@hashicorp/react-text-split": "^0.2.2"
},
"dependencies": {
"@hashicorp/react-code-block": {
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/@hashicorp/react-code-block/-/react-code-block-1.2.5.tgz",
"integrity": "sha512-uSiH2yM45CR2FG8XqWYSSB4xPP1jbPdDzwVsd1l3NcfTiJT9kOIVejTFf9OFddE6EpqHB03lTwr3Abz2pTmI1w==",
"requires": {
"@tippy.js/react": "^2.1.2",
"highlight.js": "^9.15.6"
}
}
}
},
"@hashicorp/react-text-split-with-image": {

View file

@ -23,9 +23,9 @@
"@hashicorp/react-product-downloader": "^2.5.1",
"@hashicorp/react-section-header": "^2.0.0",
"@hashicorp/react-text-and-content": "^4.0.3",
"@hashicorp/react-subnav": "^1.1.0",
"@hashicorp/react-subnav": "^1.1.1",
"@hashicorp/react-text-split": "^0.2.2",
"@hashicorp/react-text-split-with-code": "0.0.3",
"@hashicorp/react-text-split-with-code": "0.0.4",
"@hashicorp/react-text-split-with-image": "^1.2.2",
"@hashicorp/react-use-cases": "^1.0.4",
"@hashicorp/react-vertical-text-block-list": "^2.0.1",

View file

@ -26,8 +26,8 @@ export default function SimpleContainerOrchestrationPage() {
codeBlock={{
code: `
task "webservice" {
driver = "docker"
driver = "docker"
config {
image = "redis:3.2"
labels {