2019-07-25 - 2019/07/25/code-highlight/

Make sure all the code blocks highlighted correctly. All the code samples are come from the demo of https://highlightjs.org

Read more
- 2018-07-24 - 2018/07/24/markdown/

This post is originated from here and is used for testing markdown style. This post contains nearly every markdown usage. Make sure all the markdown elements below show up correctly.

Read more
2013-12-26 - 2013/12/26/images/

This is a image test post.

Small Picture
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 .
2013-12-25 - 2013/12/25/no-title/

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 .
2013-12-25 - 2013/12/25/excerpts/

The following contents should be invisible in home/archive page.

Read more
2013-12-25 - 2013/12/25/videos/

This is a video test post.



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 .
2013-12-25 - 2013/12/25/gallery-post/

This post contains 4 photos:

  • Widescreen wallpaper
  • Portrait photo
  • Dual widescreen wallpaper
  • Small photo

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 .
2013-12-25 - 2013/12/25/tag-plugins/

This post is used for testing tag plugins. See docs for more info.

Block Quote

Normal blockquote

Praesent diam elit, interdum ut pulvinar placerat, imperdiet at magna.

Quote from a book

Do not just seek happiness for yourself. Seek happiness for all. Through kindness. Through mercy.

David LevithanWide Awake

Quote from Twitter

NEW: DevDocs now comes with syntax highlighting. http://devdocs.io

Quote from an article on the web

Every interaction is both precious and an opportunity to delight.

Code Block

Normal code block

alert('Hello World!');

With caption

array.map(callback[, thisArg])

With caption and URL

.compact([0, 1, false, 2, ‘’, 3]);
=> [1, 2, 3]

With marked lines

Line 1,7-8,10 should be marked with different color.

const http = require('http');

const hostname = '';
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 .
2013-12-24 - 2013/12/24/link-post-without-title/

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 .
2013-12-24 - 2013/12/24/日本語テスト/

This is a Japanese test post.







From すぐ使えるダミーテキスト - 日本語 Lorem ipsum

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 .