diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000000..2c6234d7ec --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,23 @@ +--- +name: Bug report +about: Create a report to help us improve. +title: '' +labels: '' +assignees: '' + +--- + +**Information:** +- Prism version: [e.g. 1.14, latest from the download page, etc.] +- Environment: [e.g. Browser, Node, Webpack] + +Does the latest version of Prism from the [download page](https://prismjs.com/download.html) also have this issue? + +If you're using Prism with Node or Webpack, please also see the [usage section](https://prismjs.com/index.html#basic-usage). + +**Description** +A clear and concise description of what the bug is and how to reproduce it. +If applicable, add screenshots to help explain your problem. + +**Example** +An example which reproduces the bug. This can be a link to a website, a [JSFiddle](https://jsfiddle.net/), an attached example project, etc. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000000..a077152dd0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,17 @@ +--- +name: Feature request +about: Suggest a new feature for Prism. +title: '' +labels: enhancement +assignees: '' + +--- + +**Motivation** +Please explain the problem you're having/why you propose this feature. Ex. I'm always frustrated when [...] + +**Description** +A clear and concise description of what you want to happen. + +**Alternatives** +A clear and concise description of any alternative solutions or features you've considered, if applicable. diff --git a/.github/ISSUE_TEMPLATE/highlighting-bug-report.md b/.github/ISSUE_TEMPLATE/highlighting-bug-report.md new file mode 100644 index 0000000000..dae4b0d814 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/highlighting-bug-report.md @@ -0,0 +1,29 @@ +--- +name: Highlighting bug report +about: Does Prism highlight parts of your code incorrectly or is a language feature + not supported? +title: '' +labels: language-definitions +assignees: '' + +--- + +**Information** +- Language: [e.g. C++, JavaScript, YAML, etc.] +- Plugins: [what plugin you are using] + +Does the problem still occur in the latest version of Prism? You can check using the [test page](https://prismjs.com/test.html) or get the latest version at the [download page](https://prismjs.com/download.html). + +**Description** +A clear and concise description of what is being highlighted incorrectly and how it should be highlighted instead. Add screenshots to illustrate the problem. + +**Code snippet** + +
+The code being highlighted incorrectly. + +``` +Your code goes here +``` + +
diff --git a/.github/ISSUE_TEMPLATE/new-language-request.md b/.github/ISSUE_TEMPLATE/new-language-request.md new file mode 100644 index 0000000000..5f1760b8fc --- /dev/null +++ b/.github/ISSUE_TEMPLATE/new-language-request.md @@ -0,0 +1,14 @@ +--- +name: New language request +about: Suggest a new language Prism should support. +title: '' +labels: language-definitions, new langauge +assignees: '' + +--- + +**Language** +A short description of the language. + +**Additional resources** +E.g. The official website, documentation or language specification.