Skip to content

Commit 81298ae

Browse files
Beralivaciccarello
authored andcommitted
patch: use marked 0.6.0 to support id generation for headers (#966)
1 parent 13ccc02 commit 81298ae

File tree

4 files changed

+28
-8
lines changed

4 files changed

+28
-8
lines changed

examples/basic/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,14 @@ $ examples --out path/to/documentation/ path/to/example/project/
2626

2727
* `--example <project>`<br>
2828
Example explanation.
29+
30+
31+
## Example with Cyrillic
32+
33+
### Пример API
34+
35+
> Combined Latin and Cyrillic text
36+
37+
### Только кириллица
38+
39+
> Only Cyrillic text

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@
3333
"@types/fs-extra": "^5.0.3",
3434
"@types/highlight.js": "^9.12.3",
3535
"@types/lodash": "^4.14.110",
36-
"@types/marked": "^0.4.0",
36+
"@types/marked": "^0.6.0",
3737
"@types/minimatch": "3.0.3",
3838
"@types/shelljs": "^0.8.0",
3939
"fs-extra": "^7.0.0",
4040
"handlebars": "^4.1.0",
4141
"highlight.js": "^9.13.1",
4242
"lodash": "^4.17.10",
43-
"marked": "^0.4.0",
43+
"marked": "^0.6.0",
4444
"minimatch": "^3.0.0",
4545
"progress": "^2.0.0",
4646
"shelljs": "^0.8.2",

src/test/renderer/specs/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,15 @@ <h3 id="arguments">Arguments</h3>
8181
<li><code>--example &lt;project&gt;</code><br>
8282
Example explanation.</li>
8383
</ul>
84+
<h2 id="example-with-cyrillic">Example with Cyrillic</h2>
85+
<h3 id="пример-api">Пример API</h3>
86+
<blockquote>
87+
<p>Combined Latin and Cyrillic text</p>
88+
</blockquote>
89+
<h3 id="только-кириллица">Только кириллица</h3>
90+
<blockquote>
91+
<p>Only Cyrillic text</p>
92+
</blockquote>
8493
</div>
8594
</div>
8695
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">

0 commit comments

Comments
 (0)