Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added issue templates #1805

Merged
merged 3 commits into from
Mar 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -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.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -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.
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/highlighting-bug-report.md
Original file line number Diff line number Diff line change
@@ -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**

<details>
<summary>The code being highlighted incorrectly.</summary>

```
Your code goes here
```

</details>
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/new-language-request.md
Original file line number Diff line number Diff line change
@@ -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.