diff options
Diffstat (limited to 'cli/tests/testdata/fmt/badly_formatted_fixed.md')
| -rw-r--r-- | cli/tests/testdata/fmt/badly_formatted_fixed.md | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/cli/tests/testdata/fmt/badly_formatted_fixed.md b/cli/tests/testdata/fmt/badly_formatted_fixed.md new file mode 100644 index 000000000..8ba74cac3 --- /dev/null +++ b/cli/tests/testdata/fmt/badly_formatted_fixed.md @@ -0,0 +1,37 @@ +# Hello Markdown + +```js +console.log("Hello World"); +``` + +```javascript +console.log("Hello World2"); +``` + +```ts +function hello(name: string) { + console.log(name); +} + +hello("alice"); +``` + +```typescript +function foo(): number { + return 2; +} +``` + +```jsonc +{ + // Comment in JSON + "key": "value", + "key2": "value2" +} +``` + +```json +{ + "numbers": ["1", "2"] +} +``` |
