You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration.md
+6-84
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ The config can also be defined as a function, in which case the first argument i
16
16
17
17
```html
18
18
<script>
19
-
window.$docsify=function(vm) {
19
+
window.$docsify=function(vm) {
20
20
return {
21
21
markdown: {
22
22
renderer: {
@@ -319,14 +319,14 @@ window.$docsify = {
319
319
markdown: {
320
320
smartypants:true,
321
321
renderer: {
322
-
link:function() {
322
+
link:function() {
323
323
// ...
324
324
},
325
325
},
326
326
},
327
327
328
328
// function
329
-
markdown:function(marked, renderer) {
329
+
markdown:function(marked, renderer) {
330
330
// ...
331
331
return marked;
332
332
},
@@ -398,97 +398,19 @@ window.$docsify = {
398
398
399
399
Note that if you are running an external script, e.g. an embedded jsfiddle demo, make sure to include the [external-script](plugins.md?id=external-script) plugin.
400
400
401
-
## nativeEmoji
402
-
403
-
- type: `Boolean`
404
-
- default: `false`
405
-
406
-
Render emoji shorthand codes using GitHub-style emoji images or platform-native emoji characters.
To render shorthand codes as text, replace `:` characters with the `:` HTML entity.
443
-
444
-
```markdown
445
-
:100:
446
-
```
447
-
448
-
<outputdata-lang="output">
449
-
450
-
:100:
451
-
452
-
</output>
453
-
454
401
## noEmoji
455
402
456
403
- type: `Boolean`
457
-
- default: `false`
458
404
459
-
Disabled emoji parsing and render all emoji shorthand as text.
405
+
Disabled emoji parse.
460
406
461
407
```js
462
408
window.$docsify= {
463
409
noEmoji:true,
464
410
};
465
411
```
466
412
467
-
```markdown
468
-
:100:
469
-
```
470
-
471
-
<outputdata-lang="output">
472
-
473
-
:100:
474
-
475
-
</output>
476
-
477
-
To disable emoji parsing of individual shorthand codes, replace `:` characters with the `:` HTML entity.
478
-
479
-
```markdown
480
-
:100:
481
-
482
-
:100:
483
-
```
484
-
485
-
<outputdata-lang="output">
486
-
487
-
:100:
488
-
489
-
:100:
490
-
491
-
</output>
413
+
?> If this option is `false` but you don't want to emojify some specific colons, [refer to this](https://github.com/docsifyjs/docsify/issues/742#issuecomment-586313143)
492
414
493
415
## mergeNavbar
494
416
@@ -513,7 +435,7 @@ See https://github.com/lukeed/tinydate#patterns
0 commit comments