Skip to content

Commit 8fc9116

Browse files
fix: remove code block rendering in the note section Closes #1949 (#1952)
* fix: remove code block rendering in the note section Closes #1949 * fix: removed markdown from note include to prevent code block rendering * fix: remove code block rendering from all translation pages * add markdown attribute --------- Co-authored-by: shubham oulkar <91728992+ShubhamOulkar@users.noreply.github.com>
1 parent 9e68fa2 commit 8fc9116

21 files changed

Lines changed: 9 additions & 42 deletions

File tree

_includes/admonitions/note.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
<div class="doc-box doc-info" markdown="1"><p class="doc-title" markdown="1">{% include icons/note.svg %} {{ site.data[page.lang].general.note }}</p>
2-
{{include.content}}
1+
<div class="doc-box doc-info" markdown="1">
2+
<p class="doc-title" markdown="1">
3+
{% include icons/note.svg %} {{ site.data[page.lang].general.note }}
4+
</p>
5+
{{include.content}}
36
</div>

de/4x/api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ redirect_from: " "
1313

1414
{% capture node-version %}
1515

16-
```
1716
Express 4.0 requires Node.js 0.10 or higher.
18-
```
1917

2018
{% endcapture %}
2119

de/5x/api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ redirect_from: " "
1313

1414
{% capture node-version %}
1515

16-
```
1716
Express 5.0 requires Node.js 18 or higher.
18-
```
1917

2018
{% endcapture %}
2119

en/4x/api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ redirect_from: "/4x/api.html"
1212

1313
{% capture node-version %}
1414

15-
Express 4.0 requires Node.js 0.10 or higher.
15+
Express 4.0 requires Node.js 0.10 or higher.
1616

1717
{% endcapture %}
18-
18+
1919
{% include admonitions/note.html content=node-version %}
20-
20+
2121
{% include api/en/4x/express.md %}
2222
{% include api/en/4x/app.md %}
2323
{% include api/en/4x/req.md %}

en/5x/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ redirect_from: "/5x/api.html"
1212

1313
{% capture node-version %}
1414

15-
Express 5.0 requires Node.js 18 or higher.
15+
Express 5.0 requires Node.js 18 or higher.
1616

1717
{% endcapture %}
1818

es/4x/api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ redirect_from: " "
1313

1414
{% capture node-version %}
1515

16-
```
1716
Express 4.0 requires Node.js 0.10 or higher.
18-
```
1917

2018
{% endcapture %}
2119

es/5x/api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ redirect_from: " "
1313

1414
{% capture node-version %}
1515

16-
```
1716
Express 5.0 requires Node.js 18 or higher.
18-
```
1917

2018
{% endcapture %}
2119

fr/4x/api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ redirect_from: " "
1313

1414
{% capture node-version %}
1515

16-
```
1716
Express 4.0 requires Node.js 0.10 or higher.
18-
```
1917

2018
{% endcapture %}
2119

fr/5x/api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ redirect_from: " "
1313

1414
{% capture node-version %}
1515

16-
```
1716
Express 5.0 requires Node.js 18 or higher.
18-
```
1917

2018
{% endcapture %}
2119

it/4x/api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ redirect_from: " "
1313

1414
{% capture node-version %}
1515

16-
```
1716
Express 4.0 requires Node.js 0.10 or higher.
18-
```
1917

2018
{% endcapture %}
2119

0 commit comments

Comments
 (0)