From 2756ab9a75442f142ceb427074eb7d2acd3aa6ff Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Thu, 14 Sep 2017 08:51:37 +0200 Subject: [PATCH] Add syntax highlighting for issue template options --- .github/ISSUE_TEMPLATE.md | 2 +- website/static/markdown.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index d2c44cb5b..cb3793fe6 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -10,7 +10,7 @@ Tip! Don't write this stuff manually. **Prettier 1.6.1** [Playground link](https://prettier.io/playground/#.....) -``` +```sh # Options (if any): --single-quote ``` diff --git a/website/static/markdown.js b/website/static/markdown.js index ac3b2e0fe..4eedfb176 100644 --- a/website/static/markdown.js +++ b/website/static/markdown.js @@ -22,7 +22,7 @@ return [ "**Prettier " + version + "**", "[Playground link](" + url + ")", - optionsString === "" ? null : codeBlock(optionsString), + optionsString === "" ? null : codeBlock(optionsString, "sh"), "", "**Input:**", codeBlock(input, syntax),