Make sure all the code blocks highlighted correctly. All the code samples are come from the demo of https://highlightjs.org
Make sure all the code blocks highlighted correctly. All the code samples are come from the demo of https://highlightjs.org
This is a image test post.
Author: John Doe
URL: https://kwaa.github.io/hexo-theme-m/2013/12/26/images/
This work is licensed under a CC BY-SA 4.0 .
This post doesn’t have a title. Make sure it’s accessible.
Author: John Doe
URL: https://kwaa.github.io/hexo-theme-m/2013/12/25/no-title/
This work is licensed under a CC BY-SA 4.0 .
The following contents should be invisible in home/archive page.
This is a video test post.
Youtube
Vimeo
Author: John Doe
URL: https://kwaa.github.io/hexo-theme-m/2013/12/25/videos/
This work is licensed under a CC BY-SA 4.0 .
This post contains 4 photos:
All photos should be displayed properly.
From Wallbase.cc
Author: John Doe
URL: https://kwaa.github.io/hexo-theme-m/2013/12/25/gallery-post/
This work is licensed under a CC BY-SA 4.0 .
This post is used for testing tag plugins. See docs for more info.
Praesent diam elit, interdum ut pulvinar placerat, imperdiet at magna.
Do not just seek happiness for yourself. Seek happiness for all. Through kindness. Through mercy.
NEW: DevDocs now comes with syntax highlighting. http://devdocs.io
Every interaction is both precious and an opportunity to delight.
alert('Hello World!');
array.map(callback[, thisArg])
.compact([0, 1, false, 2, ‘’, 3]);
=> [1, 2, 3]
Line 1,7-8,10 should be marked with different color.
const http = require('http');
const hostname = '127.0.0.1';
const port = 1337;
http.createServer((req, res) => {
res.writeHead(200, { 'Content-Type': 'text/plain' });
res.end('Hello World\n');
}).listen(port, hostname, () => {
console.log(`Server running at http://${hostname}:${port}/`);
});
Note: Theme’s style should support .highlight.line.marked
(recommend to use the selection or current line color).
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas tempus molestie arcu, et fringilla mauris placerat ac. Nullam luctus bibendum risus. Ut cursus sed ipsum feugiat egestas. Suspendisse elementum, velit eu consequat consequat, augue lorem dapibus libero, eget pulvinar dolor est sit amet nulla. Suspendisse a porta tortor, et posuere mi. Pellentesque ultricies, mi quis volutpat malesuada, erat felis vulputate nisl, ac congue ante tortor ut ante. Proin aliquam sem vel mauris tincidunt, eget scelerisque tortor euismod. Nulla tincidunt enim nec commodo dictum. Mauris id sapien et orci gravida luctus id ut dui. In vel vulputate odio. Duis vel turpis molestie, scelerisque enim eu, lobortis eros. Cras at ipsum gravida, sagittis ante vel, viverra tellus. Nunc mauris turpis, elementum ullamcorper nisl pretium, ultrices cursus justo. Mauris porttitor commodo eros, ac ornare orci interdum in. Cras fermentum cursus leo sed mattis. In dignissim lorem sem, sit amet elementum mauris venenatis ac.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ligula justo, lobortis sit amet semper vel, dignissim sit amet libero. Praesent ac tempus ligula. Maecenas at gravida odio. Etiam tristique volutpat lacus eu faucibus. Donec non tempus arcu. Phasellus adipiscing, mauris nec mollis egestas, ipsum nunc auctor velit, et rhoncus lorem ipsum at ante. Praesent et sem in velit volutpat auctor. Duis vel mauris nulla. Maecenas mattis interdum ante, quis sagittis nibh cursus et. Nulla facilisi. Morbi convallis gravida tortor, ut fermentum enim gravida et. Nunc vel dictum nisl, non ultrices libero. Proin vestibulum felis eget orci consectetur lobortis. Vestibulum augue nulla, iaculis vitae augue vehicula, dignissim ultrices libero. Sed imperdiet urna et quam ultrices tincidunt nec ac magna. Etiam vel pharetra elit.
Author: John Doe
URL: https://kwaa.github.io/hexo-theme-m/2013/12/25/tag-plugins/
This work is licensed under a CC BY-SA 4.0 .
This is a link post without a title. The title should be the link with or without protocol. Clicking on the link should open Google in a new tab or window.
Author: John Doe
URL: https://kwaa.github.io/hexo-theme-m/2013/12/24/link-post-without-title/
This work is licensed under a CC BY-SA 4.0 .
This is a Japanese test post.
私は昨日ついにその助力家というのの上よりするたなけれ。
最も今をお話団はちょうどこの前後なかろでくらいに困りがいるたをは帰着考えたなかって、そうにもするでうたらない。
がたを知っないはずも同時に九月をいよいよたありた。
もっと槙さんにぼんやり金少し説明にえた自分大した人私か影響にというお関係たうませないが、この次第も私か兄具合に使うて、槙さんののに当人のあなたにさぞご意味と行くて私個人が小尊敬を聴いように同時に同反抗に集っだうて、いよいよまず相当へあっうからいだ事をしでなけれ。
それでそれでもご時日をしはずはたったいやと突き抜けるますて、その元がは行ったてという獄を尽すていけですた。
この中道具の日その学校はあなたごろがすまなりかとネルソンさんの考えるですん、辺の事実ないというご盲従ありたですと、爺さんのためが薬缶が結果までの箸の当時してならて、多少の十月にためからそういう上からとにかくしましないと触れべきものたで、ないうですと多少お人達したのでたた。
Author: John Doe
URL: https://kwaa.github.io/hexo-theme-m/2013/12/24/%E6%97%A5%E6%9C%AC%E8%AA%9E%E3%83%86%E3%82%B9%E3%83%88/
This work is licensed under a CC BY-SA 4.0 .