Skip to content

Commit 751664b

Browse files
Added PR stop notice (#3532)
1 parent 248f6ab commit 751664b

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ You can learn more on [prismjs.com](https://prismjs.com/).
1313

1414
## Contribute to Prism!
1515

16+
### **Important Notice**
17+
18+
We are currently working on [Prism v2](https://github.com/PrismJS/prism/discussions/3531) and will only accept security-relevant PRs for the time being.
19+
20+
Once work on Prism v2 is sufficiently advanced, we will accept PRs again. This will be announced on our [Discussion](https://github.com/PrismJS/prism/discussions) page and mentioned in the [roadmap discussion](https://github.com/PrismJS/prism/discussions/3531).
21+
22+
<details>
23+
<summary>Prism v1 contributing notes</summary>
24+
1625
Prism depends on community contributions to expand and cover a wider array of use cases. If you like it, consider giving back by sending a pull request. Here are a few tips:
1726

1827
- Read the [documentation](https://prismjs.com/extending.html). Prism was designed to be extensible.
@@ -35,6 +44,8 @@ Prism will run on [almost any browser](https://prismjs.com/#features-full) and N
3544
- Node.js >= 10.x
3645
- npm >= 6.x
3746

47+
</details>
48+
3849
## Translations
3950

4051
* [简体中文](https://www.awesomes.cn/repo/PrismJS/prism) (if unavailable, see [here](https://deepmind.t-salon.cc/article/113))

docs/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ <h2><a href="index.html">Home</a></h2><h2><a href="https://prismjs.com" class="m
5959
<p><a href="https://lea.verou.me/2012/07/introducing-prism-an-awesome-new-syntax-highlighter/#more-1841">Why another syntax highlighter?</a></p>
6060
<p><a href="https://github.com/PrismJS/prism-themes">More themes for Prism!</a></p>
6161
<h2>Contribute to Prism!</h2>
62+
<h3><strong>Important Notice</strong></h3>
63+
<p>We are currently working on <a href="https://github.com/PrismJS/prism/discussions/3531">Prism v2</a> and will only accept security-relevant PRs for the time being.</p>
64+
<p>Once work on Prism v2 is sufficiently advanced, we will accept PRs again. This will be announced on our <a href="https://github.com/PrismJS/prism/discussions">Discussion</a> page and mentioned in the <a href="https://github.com/PrismJS/prism/discussions/3531">roadmap discussion</a>.</p>
65+
<details>
66+
<summary>Prism v1 contributing notes</summary>
6267
<p>Prism depends on community contributions to expand and cover a wider array of use cases. If you like it, consider giving back by sending a pull request. Here are a few tips:</p>
6368
<ul>
6469
<li>Read the <a href="https://prismjs.com/extending.html">documentation</a>. Prism was designed to be extensible.</li>
@@ -79,6 +84,7 @@ <h3>Software requirements</h3>
7984
<li>Node.js &gt;= 10.x</li>
8085
<li>npm &gt;= 6.x</li>
8186
</ul>
87+
</details>
8288
<h2>Translations</h2>
8389
<ul>
8490
<li><a href="https://www.awesomes.cn/repo/PrismJS/prism">简体中文</a> (if unavailable, see <a href="https://deepmind.t-salon.cc/article/113">here</a>)</li>

0 commit comments

Comments
 (0)