Skip to content

Commit dedb475

Browse files
Added issue templates (#1805)
This adds issue templates for the prism project after #1802.
1 parent 11d0f75 commit dedb475

File tree

4 files changed

+83
-0
lines changed

4 files changed

+83
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve.
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Information:**
11+
- Prism version: [e.g. 1.14, latest from the download page, etc.]
12+
- Environment: [e.g. Browser, Node, Webpack]
13+
14+
Does the latest version of Prism from the [download page](https://prismjs.com/download.html) also have this issue?
15+
16+
If you're using Prism with Node or Webpack, please also see the [usage section](https://prismjs.com/index.html#basic-usage).
17+
18+
**Description**
19+
A clear and concise description of what the bug is and how to reproduce it.
20+
If applicable, add screenshots to help explain your problem.
21+
22+
**Example**
23+
An example which reproduces the bug. This can be a link to a website, a [JSFiddle](https://jsfiddle.net/), an attached example project, etc.
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature request
3+
about: Suggest a new feature for Prism.
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Motivation**
11+
Please explain the problem you're having/why you propose this feature. Ex. I'm always frustrated when [...]
12+
13+
**Description**
14+
A clear and concise description of what you want to happen.
15+
16+
**Alternatives**
17+
A clear and concise description of any alternative solutions or features you've considered, if applicable.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: Highlighting bug report
3+
about: Does Prism highlight parts of your code incorrectly or is a language feature
4+
not supported?
5+
title: ''
6+
labels: language-definitions
7+
assignees: ''
8+
9+
---
10+
11+
**Information**
12+
- Language: [e.g. C++, JavaScript, YAML, etc.]
13+
- Plugins: [what plugin you are using]
14+
15+
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).
16+
17+
**Description**
18+
A clear and concise description of what is being highlighted incorrectly and how it should be highlighted instead. Add screenshots to illustrate the problem.
19+
20+
**Code snippet**
21+
22+
<details>
23+
<summary>The code being highlighted incorrectly.</summary>
24+
25+
```
26+
Your code goes here
27+
```
28+
29+
</details>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: New language request
3+
about: Suggest a new language Prism should support.
4+
title: ''
5+
labels: language-definitions, new langauge
6+
assignees: ''
7+
8+
---
9+
10+
**Language**
11+
A short description of the language.
12+
13+
**Additional resources**
14+
E.g. The official website, documentation or language specification.

0 commit comments

Comments
 (0)