Theme Showcase

</article>
[toc]
Theme Showcase
Heading (h2)
h3
h4
h5
h6
Heading link
Image (click to zoom in/out)
1 | <!-- new line --> |
Inline image
Not bad.
With link
hr
Below is a hr, I guess.
Above is a hr, I guess.
List
Unordered list
- list item
- list item
- list item
- list item
- list item
- list item
- list item
Ordered list
- list item
- list item
- list item
- list item
- list item
- list item
- list item
ChecklistA
- [ ] Get up at 7:00 AM
- [ ] Eat breakfast
- [ ] Go to bet before 11:00 PM
Table
Hear no evil | Speak no evil | See no evil |
---|---|---|
🙉 | 🙊 | 🙈 |
Text align
Hear no evil | Speak no evil | See no evil |
---|---|---|
🙉 | 🙊 | 🙈 |
Headless
1 | | | |
A | B | 🙈 |
Long table
Sun With Face | Grinning Face | Smiling Face | Grinning Face With Big Eyes | Smiling Face With Smiling Eyes | Full Moon Face | Grinning Face With Smiling Eyes | Face With Monocle | Cowboy Hat Face | Thinking Face | Face Vomiting |
---|---|---|---|---|---|---|---|---|---|---|
🌞 | 😀 | ☺️ | 😃 | 😊 | 🌝 | 😄 | 🧐 | 🤠 | 🤔 | 🤮 |
Blockquote
(https://hexo.io/docs/tag-plugins#Block-Quote)
Every interaction is both precious and an opportunity to delight.
Seth GodinWelcome to Island Marketing
NEW: DevDocs now comes with syntax highlighting. http://devdocs.io
Code Block
1 | class Utils { |
With caption
(https://hexo.io/docs/tag-plugins#Code-Block)
1 | _.compactUnderscore.js_.compact([0, 1, false, 2, '', 3]); |
Gist
(https://hexo.io/docs/tag-plugins#Gist)
JSFiddle
(https://hexo.io/docs/tag-plugins#jsFiddle)
script
1 | stars: <span id="stargazers_count"></span> |
stars: 362
For the lastest ES grammar and code minification.
Run the following command in the root cover of Hexo (not themes/inside
):
1 | npm install babel-core babel-preset-env html-minifier terser --save |
Canvas
Syntax:
1 | {% canvas [width] [height] %} |
width is default to 300
, height is default to 150
,also the following constants are available in the scope:
constant | |
---|---|
ctx | CanvasRenderingContext2D |
w | Canvas width |
h | Canvas height |
For example:
1 | {% canvas 100 100 %} |
MathJax (SSR)
When $a^2+b^2=c^2$, there are two solutions to and they are
Code Color
1 | init i=1 |
评论
匿名评论隐私政策