some-markdown-syntax-in-hexo-next-theme

NeXT Docstheme-next.js.org/docs

Tabs

This is Tab 1.

This is Tab 2.

This is Tab 3.

codeReference
1
2
3
4
5
6
7
8
9
10
11
12
13
{% tabs First unique name %}
<!-- tab -->
**This is Tab 1.**
<!-- endtab -->

<!-- tab -->
**This is Tab 2.**
<!-- endtab -->

<!-- tab -->
**This is Tab 3.**
<!-- endtab -->
{% endtabs %}

Labels

default_text primary_text success_text info_text warning_text danger_text

codeReference
1
2
3
4
5
6
{% label default@text %}
{% label primary@text %}
{% label success@text %}
{% label info@text %}
{% label warning@text %}
{% label danger@text %}

Notes

default style header

default style text

info style without header

codeReference
1
2
3
4
5
6
7
8
{% note default %}
#### default style header
default style text
{% endnote %}

{% note info %}
info style without header
{% endnote %}

Code Block

titlelink
1
codes
codeReference
1
2
3
```shell title https://www.google.com google
codes
```

Block Quote

Googlewww.google.com

1
2
{% blockquote Google https://www.google.com %}
{% endblockquote %}

Center Quote

Something

1
{% centerquote %}Something{% endcenterquote %}

Buttons

to_buttons text

codeReference
1
2
{% btn #buttons, to_buttons %}
{% btn https://www.google.com, text, globe fa-fw fa-lg, title %}

Other Syntax

Summary

Summary Goes Here ...this is hidden, collapsable content...

1
2
3
4
<details>
<summary>Summary Goes Here</summary>
...this is hidden, collapsable content...
</details>

Checkbox

  • checked
  • un-checked
  • &check; tick
  • &cross; cross
1
2
3
4
- [x] checked
- [ ] un-checked
- &check; tick
- &cross; cross