Skip to content

Commit fed6f9e

Browse files
authored
Merge pull request #34 from rwjblue/update-readme-docs-for-code-fences
Add codefences to input/output docs.
2 parents 7bf1287 + ff9623a commit fed6f9e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

commands/local/update-docs.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,13 @@ function updateTransformREADME(transformName) {
5353
'---',
5454
`<a id="${testName}"></a>`,
5555
`**Input** (<small>[${testName}.input${extension}](${inputPath})</small>):`,
56+
'```${extension}',
5657
fs.readFileSync(inputPath),
58+
'```',
5759
`**Output** (<small>[${testName}.input${extension}](${outputPath})</small>):`,
58-
fs.readFileSync(outputPath)
60+
'```${extension}',
61+
fs.readFileSync(outputPath),
62+
'```'
5963
);
6064
});
6165

0 commit comments

Comments
 (0)