chore(*): update for v2
|
@ -68,10 +68,10 @@ archive_generator:
|
|||
monthly: true
|
||||
|
||||
category_generator:
|
||||
per_page: 20
|
||||
per_page: 6
|
||||
|
||||
tag_generator:
|
||||
per_page: 20
|
||||
per_page: 6
|
||||
|
||||
# Extensions
|
||||
## Plugins: https://github.com/hexojs/hexo/wiki/Plugins
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"hexo": {
|
||||
"version": "3.5.0"
|
||||
"version": "3.7.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"hexo": "^3.2.0",
|
||||
"hexo-deployer-git": "^0.2.0",
|
||||
"hexo": "^3.7.1",
|
||||
"hexo-deployer-git": "^0.3.1",
|
||||
"hexo-generator-archive": "^0.1.4",
|
||||
"hexo-generator-category": "^0.1.3",
|
||||
"hexo-generator-index": "^0.2.0",
|
||||
|
@ -18,4 +18,4 @@
|
|||
"hexo-renderer-stylus": "^0.3.1",
|
||||
"hexo-server": "^0.2.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
title: An Ode To Earth – Baba Yetu
|
||||
date: 2015-02-03 17:22:23
|
||||
categories:
|
||||
- Music
|
||||
tags:
|
||||
- Music
|
||||
banner: /hexo-theme-icarus/gallery/little-girl.jpg
|
||||
---
|
||||
Dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||
<!-- more -->
|
||||
|
||||
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
|
||||
|
||||
“Dolores eos qui ratione voluptatem sequi nesciunt. Lorem ipsum dolor.”Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
||||
|
||||
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio.
|
||||
|
||||
It’s like a language. You learn the alphabet, which are the scales. You learn sentences, which are the chords. And then you talk extemporaneously with the horn. It’s a wonderful thing to speak extemporaneously, which is something I’ve never gotten the hang of. But musically I love to talk just off the top of my head. And that’s what jazz music is all about.
|
||||
|
||||
Stan Getz
|
||||
|
||||
Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
|
||||
|
||||
Eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
|
||||
|
||||
Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
||||
|
||||
Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni.
|
|
@ -1,26 +0,0 @@
|
|||
title: Being Outside in Fresh Air & How Your Body Loves It
|
||||
date: 2016-07-09 00:00:00
|
||||
categories:
|
||||
- LifeStyle
|
||||
banner: /hexo-theme-icarus/gallery/shoes.jpg
|
||||
---
|
||||
Amor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||
<!-- more -->
|
||||
|
||||
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
|
||||
|
||||
“Dolores eos qui ratione voluptatem sequi nesciunt. Lorem ipsum dolor.”Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
||||
|
||||
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio.
|
||||
|
||||
It’s like a language. You learn the alphabet, which are the scales. You learn sentences, which are the chords. And then you talk extemporaneously with the horn. It’s a wonderful thing to speak extemporaneously, which is something I’ve never gotten the hang of. But musically I love to talk just off the top of my head. And that’s what jazz music is all about.
|
||||
|
||||
Stan Getz
|
||||
|
||||
Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
|
||||
|
||||
Eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
|
||||
|
||||
Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
||||
|
||||
Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni.
|
|
@ -1,122 +0,0 @@
|
|||
title: 中文测试
|
||||
date: 2016-01-31 21:55:37
|
||||
categories:
|
||||
- Language Test
|
||||
comments: false
|
||||
banner: /hexo-theme-icarus/gallery/china-great-wall.jpg
|
||||
meta:
|
||||
- name="robots";content="noindex, follow"
|
||||
---
|
||||
## 桃花源记
|
||||
### 朝代:魏晋
|
||||
### 作者:陶渊明
|
||||
### 原文:
|
||||
晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷,渔人甚异之。复前行,欲穷其林。
|
||||
|
||||
林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田美池桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。
|
||||
|
||||
见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝)
|
||||
|
||||
既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。
|
||||
|
||||
南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终,后遂无问津者。
|
||||
<!-- more -->
|
||||
|
||||
> 真的猛士,敢于直面惨淡的人生,敢于正视淋漓的鲜血。这是怎样的哀痛者和幸福者?然而造化又常常为庸人设计,以时间的流驶,来洗涤旧迹,仅使留下淡红的血色和微漠的悲哀。在这淡红的血色和微漠的悲哀中,又给人暂得偷生,维持着似人非人的生活。我不知道这样的世界何时是一个尽头!
|
||||
>
|
||||
|
||||
Inline `Code` Test.
|
||||
|
||||
```diff
|
||||
=== modified file 'support-files/mysql.server.sh'
|
||||
--- support-files/mysql.server.sh 2013-07-16 17:09:54 +0000
|
||||
+++ support-files/mysql.server.sh 2014-02-17 10:10:30 +0000
|
||||
@@ -147,68 +147,12 @@
|
||||
datadir_set=1
|
||||
;;
|
||||
--pid-file=*) mysqld_pid_file_path=`echo "$arg" | sed -e 's/^[^=]*=//'` ;;
|
||||
+ --socket=*) socket=`echo "$arg" | sed -e 's/^[^=]*=//'` ;;
|
||||
--service-startup-timeout=*) service_startup_timeout=`echo "$arg" | sed -e 's/^[^=]*=//'` ;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
-wait_for_pid () {
|
||||
- verb="$1" # created | removed
|
||||
- pid="$2" # process ID of the program operating on the pid-file
|
||||
- pid_file_path="$3" # path to the PID file.
|
||||
-
|
||||
- i=0
|
||||
-}
|
||||
```
|
||||
|
||||
```js
|
||||
var example = {
|
||||
text: 'Hello world!',
|
||||
date: '2015-07-07',
|
||||
attachment: {
|
||||
name: 'note1',
|
||||
count: 1,
|
||||
},
|
||||
comments: null,
|
||||
},
|
||||
rules = {
|
||||
text: 'required|string',
|
||||
date: 'date|date_format:yyyy-MM-dd',
|
||||
attachment: {
|
||||
name: 'required|string',
|
||||
content: 'integer',
|
||||
},
|
||||
comments: 'array',
|
||||
};
|
||||
|
||||
console.log(Validator.validate(example, rules));
|
||||
// => {status: 'failed', [{object: [Object], field: "comments", rule: "array"}]}
|
||||
```
|
||||
|
||||
```java
|
||||
package stone;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
/**
|
||||
* Created by ppoffice on 2015/12/15.
|
||||
*/
|
||||
public class ASTLeaf extends ASTree {
|
||||
private static ArrayList<ASTree> empty = new ArrayList<>();
|
||||
protected Token token;
|
||||
|
||||
public ASTLeaf(Token t) {
|
||||
token = t;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ASTree child(int i) {
|
||||
throw new IndexOutOfBoundsException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int numChildren() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterator<ASTree> children() {
|
||||
return empty.iterator();
|
||||
}
|
||||
|
||||
public String toString () {
|
||||
return token.getText();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String location() {
|
||||
return "at line " + token.getLineNumber();
|
||||
}
|
||||
|
||||
public Token token () {
|
||||
return token;
|
||||
}
|
||||
}
|
||||
```
|
|
@ -1,24 +0,0 @@
|
|||
title: Decreasing the Use of Smartphones
|
||||
date: 2015-01-25 23:03:36
|
||||
categories:
|
||||
- LifeStyle
|
||||
tags:
|
||||
- Research
|
||||
banner: /hexo-theme-icarus/gallery/smartphone.jpg
|
||||
---
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||
<!-- more -->
|
||||
|
||||
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
|
||||
|
||||
“Dolores eos qui ratione voluptatem sequi nesciunt. Lorem ipsum dolor.” Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
||||
|
||||
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio.
|
||||
|
||||
It’s like a language. You learn the alphabet, which are the scales. You learn sentences, which are the chords. And then you talk extemporaneously with the horn. It’s a wonderful thing to speak extemporaneously, which is something I’ve never gotten the hang of. But musically I love to talk just off the top of my head. And that’s what jazz music is all about.
|
||||
|
||||
Stan Getz
|
||||
|
||||
Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
|
||||
|
||||
Eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
|
|
@ -1,28 +0,0 @@
|
|||
title: Gabrielle Aplin with The Power Of Love
|
||||
date: 2014-12-02 22:40:21
|
||||
categories:
|
||||
- Music
|
||||
tags:
|
||||
- Music
|
||||
banner: /hexo-theme-icarus/gallery/music1.jpg
|
||||
---
|
||||
Dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||
<!-- more -->
|
||||
|
||||
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
|
||||
|
||||
“Dolores eos qui ratione voluptatem sequi nesciunt. Lorem ipsum dolor.”Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
||||
|
||||
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio.
|
||||
|
||||
It’s like a language. You learn the alphabet, which are the scales. You learn sentences, which are the chords. And then you talk extemporaneously with the horn. It’s a wonderful thing to speak extemporaneously, which is something I’ve never gotten the hang of. But musically I love to talk just off the top of my head. And that’s what jazz music is all about.
|
||||
|
||||
Stan Getz
|
||||
|
||||
Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
|
||||
|
||||
Eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
|
||||
|
||||
Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
||||
|
||||
Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni.
|
|
@ -1,50 +0,0 @@
|
|||
title: Gallery Example
|
||||
date: 2016-07-08 00:00:00
|
||||
photos:
|
||||
- https://www.hdwallpapers.net/previews/starry-night-over-corsica-986.jpg
|
||||
- https://www.hdwallpapers.net/previews/water-plant-close-up-979.jpg
|
||||
- https://www.hdwallpapers.net/previews/winter-day-at-yosemite-national-park-971.jpg
|
||||
- https://www.hdwallpapers.net/previews/vatnajokull-national-park-iceland-899.jpg
|
||||
tags:
|
||||
---
|
||||
To add a photo gallery placeholder to your post, just add the following lines to your front-matter:
|
||||
```yml
|
||||
photos:
|
||||
- https://www.hdwallpapers.net/previews/starry-night-over-corsica-986.jpg
|
||||
- https://www.hdwallpapers.net/previews/water-plant-close-up-979.jpg
|
||||
- ...
|
||||
```
|
||||
<!-- more -->
|
||||
and enable `lightgallery` plugin in your `_config.yml`:
|
||||
```diff
|
||||
# Plugins
|
||||
plugins:
|
||||
+ lightgallery: true # options: true, false
|
||||
google_analytics: # enter the tracking ID for your Google Analytics
|
||||
...
|
||||
```
|
||||
|
||||
You can also add photos between text to create another gallery like this:
|
||||
|
||||

|
||||
|
||||
or this:
|
||||
|
||||

|
||||
|
||||
Finally, you can also use Justified Gallery to display you photos in a grid:
|
||||
|
||||
```diff
|
||||
# Plugins
|
||||
plugins:
|
||||
+ justifiedgallery: true # options: true, false
|
||||
google_analytics: # enter the tracking ID for your Google Analytics
|
||||
...
|
||||
```
|
||||
|
||||
<div class="justified-gallery">
|
||||

|
||||

|
||||

|
||||

|
||||
</div>
|
|
@ -1,26 +0,0 @@
|
|||
title: Independent Artists Make Their Own Way Without Big Record Labels
|
||||
date: 2015-02-03 17:29:25
|
||||
categories:
|
||||
- Music
|
||||
banner: /hexo-theme-icarus/gallery/guitarist.jpg
|
||||
---
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||
<!-- more -->
|
||||
|
||||
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
|
||||
|
||||
“Dolores eos qui ratione voluptatem sequi nesciunt. Lorem ipsum dolor.”Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
||||
|
||||
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio.
|
||||
|
||||
It’s like a language. You learn the alphabet, which are the scales. You learn sentences, which are the chords. And then you talk extemporaneously with the horn. It’s a wonderful thing to speak extemporaneously, which is something I’ve never gotten the hang of. But musically I love to talk just off the top of my head. And that’s what jazz music is all about.
|
||||
|
||||
Stan Getz
|
||||
|
||||
Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
|
||||
|
||||
Eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
|
||||
|
||||
Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
||||
|
||||
Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni.
|
|
@ -1,26 +0,0 @@
|
|||
title: Life Happens. Learn How to Flow With It
|
||||
date: 2015-02-02 22:36:23
|
||||
categories:
|
||||
- LifeStyle
|
||||
banner: /hexo-theme-icarus/gallery/niagara.jpg
|
||||
---
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||
<!-- more -->
|
||||
|
||||
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
|
||||
|
||||
[pullquote align=”right”]”Dolores eos qui ratione voluptatem sequi nesciunt. Lorem ipsum dolor.”[/pullquote]Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
||||
|
||||
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio.
|
||||
|
||||
It’s like a language. You learn the alphabet, which are the scales. You learn sentences, which are the chords. And then you talk extemporaneously with the horn. It’s a wonderful thing to speak extemporaneously, which is something I’ve never gotten the hang of. But musically I love to talk just off the top of my head. And that’s what jazz music is all about.
|
||||
|
||||
Stan Getz
|
||||
|
||||
Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
|
||||
|
||||
Eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
|
||||
|
||||
Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
||||
|
||||
Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni.
|
|
@ -1,752 +0,0 @@
|
|||
title: Markdown
|
||||
date: 2014-12-25 00:31:00
|
||||
categories:
|
||||
- Technology
|
||||
- Github
|
||||
tags:
|
||||
- markdown
|
||||
banner: /hexo-theme-icarus/gallery/markdown.jpg
|
||||
---
|
||||
A markdown example shows how to write a markdown file. This document integrates core syntax and extensions (GMF).
|
||||
<!-- more -->
|
||||
|
||||
* [Block Elements](#block-elements)
|
||||
* [Paragraphs and Line Breaks](#paragraphs-and-line-breaks)
|
||||
* [Headers](#headers)
|
||||
* [Blockquotes](#blockquotes)
|
||||
* [Lists](#lists)
|
||||
* [Code Blocks](#code-blocks)
|
||||
* [Horizontal Rules](#horizontal-rules)
|
||||
* [Table](#table)
|
||||
* [Span Elements](#span-elements)
|
||||
* [Links](#links)
|
||||
* [Emphasis](#emphasis)
|
||||
* [Code](#code)
|
||||
* [Images](#images)
|
||||
* [Strikethrough](#strikethrough)
|
||||
* [Miscellaneous](#miscellaneous)
|
||||
* [Automatic Links](#automatic-links)
|
||||
* [Backslash Escapes](#backslash-escapes)
|
||||
* [Inline HTML](#inline-html)
|
||||
|
||||
<!-- more -->
|
||||
## Block Elements
|
||||
### Paragraphs and Line Breaks
|
||||
#### Paragraphs
|
||||
HTML Tag: `<p>`
|
||||
|
||||
One or more blank lines. (A blank line is a line containing nothing but **spaces** or **tabs** is considered blank.)
|
||||
|
||||
Code:
|
||||
|
||||
This will be
|
||||
inline.
|
||||
|
||||
This is second paragraph.
|
||||
Preview:
|
||||
***
|
||||
This will be
|
||||
inline.
|
||||
|
||||
This is second paragraph.
|
||||
***
|
||||
#### Line Breaks
|
||||
HTML Tag: `<br />`
|
||||
|
||||
End a line with **two or more spaces**.
|
||||
|
||||
Code:
|
||||
|
||||
This will be not
|
||||
inline.
|
||||
Preview:
|
||||
***
|
||||
This will be not
|
||||
inline.
|
||||
***
|
||||
|
||||
### Headers
|
||||
Markdown supports two styles of headers, Setext and atx.
|
||||
#### Setext
|
||||
HTML Tags: `<h1>`, `<h2>`
|
||||
|
||||
“Underlined” using **equal signs (=)** as `<h1>` and **dashes (-)** as `<h2>` in any number.
|
||||
|
||||
Code:
|
||||
|
||||
This is an H1
|
||||
=============
|
||||
This is an H2
|
||||
-------------
|
||||
Preview:
|
||||
***
|
||||
This is an H1
|
||||
=============
|
||||
|
||||
This is an H2
|
||||
-------------
|
||||
***
|
||||
#### atx
|
||||
HTML Tags: `<h1>`, `<h2>`, `<h3>`, `<h4>`, `<h5>`, `<h6>`
|
||||
|
||||
Uses 1-6 **hash characters (#)** at the start of the line, corresponding to `<h1>` - `<h6>`.
|
||||
|
||||
Code:
|
||||
|
||||
# This is an H1
|
||||
## This is an H2
|
||||
###### This is an H6
|
||||
Preview:
|
||||
***
|
||||
# This is an H1
|
||||
## This is an H2
|
||||
###### This is an H6
|
||||
***
|
||||
Optionally, you may “close” atx-style headers. The closing hashes **don’t need to match** the number of hashes used to open the header.
|
||||
|
||||
Code:
|
||||
|
||||
# This is an H1 #
|
||||
## This is an H2 ##
|
||||
### This is an H3 ######
|
||||
Preview:
|
||||
***
|
||||
# This is an H1 #
|
||||
## This is an H2 ##
|
||||
### This is an H3 ######
|
||||
***
|
||||
|
||||
### Blockquotes
|
||||
HTML Tag: `<blockquote>`
|
||||
|
||||
Markdown uses email-style **>** characters for blockquoting. It looks best if you hard wrap the text and put a > before every line.
|
||||
|
||||
Code:
|
||||
|
||||
> This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
|
||||
> consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
|
||||
> Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
|
||||
>
|
||||
> Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
|
||||
> id sem consectetuer libero luctus adipiscing.
|
||||
Preview:
|
||||
***
|
||||
> This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
|
||||
> consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
|
||||
> Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
|
||||
>
|
||||
> Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
|
||||
> id sem consectetuer libero luctus adipiscing.
|
||||
|
||||
***
|
||||
Markdown allows you to be lazy and only put the > before the first line of a hard-wrapped paragraph.
|
||||
|
||||
Code:
|
||||
|
||||
> This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
|
||||
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
|
||||
Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
|
||||
|
||||
> Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
|
||||
id sem consectetuer libero luctus adipiscing.
|
||||
Preview:
|
||||
***
|
||||
> This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
|
||||
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
|
||||
Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
|
||||
|
||||
> Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
|
||||
id sem consectetuer libero luctus adipiscing.
|
||||
|
||||
***
|
||||
Blockquotes can be nested (i.e. a blockquote-in-a-blockquote) by adding additional levels of >.
|
||||
|
||||
Code:
|
||||
|
||||
> This is the first level of quoting.
|
||||
>
|
||||
> > This is nested blockquote.
|
||||
>
|
||||
> Back to the first level.
|
||||
Preview:
|
||||
***
|
||||
> This is the first level of quoting.
|
||||
>
|
||||
> > This is nested blockquote.
|
||||
>
|
||||
> Back to the first level.
|
||||
|
||||
***
|
||||
Blockquotes can contain other Markdown elements, including headers, lists, and code blocks.
|
||||
|
||||
Code:
|
||||
|
||||
> ## This is a header.
|
||||
>
|
||||
> 1. This is the first list item.
|
||||
> 2. This is the second list item.
|
||||
>
|
||||
> Here's some example code:
|
||||
>
|
||||
> return shell_exec("echo $input | $markdown_script");
|
||||
Preview:
|
||||
***
|
||||
> ## This is a header.
|
||||
>
|
||||
> 1. This is the first list item.
|
||||
> 2. This is the second list item.
|
||||
>
|
||||
> Here's some example code:
|
||||
>
|
||||
> return shell_exec("echo $input | $markdown_script");
|
||||
|
||||
***
|
||||
|
||||
### Lists
|
||||
Markdown supports ordered (numbered) and unordered (bulleted) lists.
|
||||
#### Unordered
|
||||
HTML Tag: `<ul>`
|
||||
|
||||
Unordered lists use **asterisks (*)**, **pluses (+)**, and **hyphens (-)**.
|
||||
|
||||
Code:
|
||||
|
||||
* Red
|
||||
* Green
|
||||
* Blue
|
||||
Preview:
|
||||
***
|
||||
* Red
|
||||
* Green
|
||||
* Blue
|
||||
|
||||
***
|
||||
is equivalent to:
|
||||
|
||||
Code:
|
||||
|
||||
+ Red
|
||||
+ Green
|
||||
+ Blue
|
||||
and:
|
||||
|
||||
Code:
|
||||
|
||||
- Red
|
||||
- Green
|
||||
- Blue
|
||||
#### Ordered
|
||||
HTML Tag: `<ol>`
|
||||
|
||||
Ordered lists use numbers followed by periods:
|
||||
|
||||
Code:
|
||||
|
||||
1. Bird
|
||||
2. McHale
|
||||
3. Parish
|
||||
Preview:
|
||||
***
|
||||
1. Bird
|
||||
2. McHale
|
||||
3. Parish
|
||||
|
||||
***
|
||||
It’s possible to trigger an ordered list by accident, by writing something like this:
|
||||
|
||||
Code:
|
||||
|
||||
1986. What a great season.
|
||||
Preview:
|
||||
***
|
||||
1986. What a great season.
|
||||
|
||||
***
|
||||
You can **backslash-escape (\\)** the period:
|
||||
|
||||
Code:
|
||||
|
||||
1986\. What a great season.
|
||||
Preview:
|
||||
***
|
||||
1986\. What a great season.
|
||||
|
||||
***
|
||||
#### Indented
|
||||
|
||||
##### Blockquote
|
||||
To put a blockquote within a list item, the blockquote’s > delimiters need to be indented:
|
||||
|
||||
Code:
|
||||
|
||||
* A list item with a blockquote:
|
||||
|
||||
> This is a blockquote
|
||||
> inside a list item.
|
||||
Preview:
|
||||
***
|
||||
* A list item with a blockquote:
|
||||
|
||||
> This is a blockquote
|
||||
> inside a list item.
|
||||
|
||||
***
|
||||
##### Code Block
|
||||
To put a code block within a list item, the code block needs to be indented twice — **8 spaces** or **two tabs**:
|
||||
|
||||
Code:
|
||||
|
||||
* A list item with a code block:
|
||||
|
||||
<code goes here>
|
||||
Preview:
|
||||
***
|
||||
* A list item with a code block:
|
||||
|
||||
<code goes here>
|
||||
|
||||
***
|
||||
##### Nested List
|
||||
Code:
|
||||
|
||||
* A
|
||||
* A1
|
||||
* A2
|
||||
* B
|
||||
* C
|
||||
Preview:
|
||||
***
|
||||
* A
|
||||
* A1
|
||||
* A2
|
||||
* B
|
||||
* C
|
||||
|
||||
***
|
||||
### Code Blocks
|
||||
HTML Tag: `<pre>`
|
||||
|
||||
Indent every line of the block by at least **4 spaces** or **1 tab**.
|
||||
|
||||
Code:
|
||||
|
||||
This is a normal paragraph:
|
||||
|
||||
This is a code block.
|
||||
Preview:
|
||||
***
|
||||
This is a normal paragraph:
|
||||
|
||||
This is a code block.
|
||||
***
|
||||
A code block continues until it reaches a line that is not indented (or the end of the article).
|
||||
|
||||
Within a code block, ***ampersands (&)*** and angle **brackets (< and >)** are automatically converted into HTML entities.
|
||||
|
||||
Code:
|
||||
|
||||
<div class="footer">
|
||||
© 2004 Foo Corporation
|
||||
</div>
|
||||
Preview:
|
||||
***
|
||||
<div class="footer">
|
||||
© 2004 Foo Corporation
|
||||
</div>
|
||||
***
|
||||
Following sections Fenced Code Blocks and Syntax Highlighting are extensions, you can use the other way to write the code block.
|
||||
#### Fenced Code Blocks
|
||||
Just wrap your code in ```` ``` ```` (as shown below) and you won't need to indent it by four spaces.
|
||||
|
||||
Code:
|
||||
|
||||
Here's an example:
|
||||
|
||||
```
|
||||
function test() {
|
||||
console.log("notice the blank line before this function?");
|
||||
}
|
||||
```
|
||||
Preview:
|
||||
***
|
||||
Here's an example:
|
||||
|
||||
```
|
||||
function test() {
|
||||
console.log("notice the blank line before this function?");
|
||||
}
|
||||
```
|
||||
***
|
||||
#### Syntax Highlighting
|
||||
In your fenced block, add an optional language identifier and we'll run it through syntax highlighting ([Support Languages](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml)).
|
||||
|
||||
Code:
|
||||
|
||||
```ruby
|
||||
require 'redcarpet'
|
||||
markdown = Redcarpet.new("Hello World!")
|
||||
puts markdown.to_html
|
||||
```
|
||||
Preview:
|
||||
***
|
||||
```ruby
|
||||
require 'redcarpet'
|
||||
markdown = Redcarpet.new("Hello World!")
|
||||
puts markdown.to_html
|
||||
```
|
||||
***
|
||||
### Horizontal Rules
|
||||
HTML Tag: `<hr />`
|
||||
Places **three or more hyphens (-), asterisks (*), or underscores (_)** on a line by themselves. You may use spaces between the hyphens or asterisks.
|
||||
|
||||
Code:
|
||||
|
||||
* * *
|
||||
***
|
||||
*****
|
||||
- - -
|
||||
---------------------------------------
|
||||
___
|
||||
Preview:
|
||||
***
|
||||
* * *
|
||||
***
|
||||
*****
|
||||
- - -
|
||||
---------------------------------------
|
||||
___
|
||||
***
|
||||
### Table
|
||||
HTML Tag: `<table>`
|
||||
|
||||
It's an extension.
|
||||
|
||||
Separates column by **pipe (|)** and header by **dashes (-)**, and uses **colon (:)** for alignment.
|
||||
|
||||
The outer **pipes (|)** and alignment are optional. There are **3 delimiters** each cell at least for separating header.
|
||||
|
||||
Code:
|
||||
```
|
||||
| Left | Center | Right |
|
||||
|:-----|:------:|------:|
|
||||
|aaa |bbb |ccc |
|
||||
|ddd |eee |fff |
|
||||
|
||||
A | B
|
||||
---|---
|
||||
123|456
|
||||
|
||||
|
||||
A |B
|
||||
--|--
|
||||
12|45
|
||||
```
|
||||
Preview:
|
||||
***
|
||||
| Left | Center | Right |
|
||||
|:-----|:------:|------:|
|
||||
|aaa |bbb |ccc |
|
||||
|ddd |eee |fff |
|
||||
|
||||
A | B
|
||||
---|---
|
||||
123|456
|
||||
|
||||
A |B
|
||||
--|--
|
||||
12|45
|
||||
***
|
||||
## Span Elements
|
||||
### Links
|
||||
HTML Tag: `<a>`
|
||||
|
||||
Markdown supports two style of links: inline and reference.
|
||||
|
||||
#### Inline
|
||||
Inline link format like this: `[Link Text](URL "Title")`
|
||||
|
||||
Title is optional.
|
||||
|
||||
Code:
|
||||
|
||||
This is [an example](http://example.com/ "Title") inline link.
|
||||
|
||||
[This link](http://example.net/) has no title attribute.
|
||||
Preview:
|
||||
***
|
||||
This is [an example](http://example.com/ "Title") inline link.
|
||||
|
||||
[This link](http://example.net/) has no title attribute.
|
||||
***
|
||||
If you’re referring to a local resource on the same server, you can use relative paths:
|
||||
|
||||
Code:
|
||||
|
||||
See my [About](/about/) page for details.
|
||||
Preview:
|
||||
***
|
||||
See my [About](/about/) page for details.
|
||||
***
|
||||
#### Reference
|
||||
You could predefine link references. Format like this: `[id]: URL "Title"`
|
||||
|
||||
Title is also optional. And the you refer the link, format like this: `[Link Text][id]`
|
||||
|
||||
Code:
|
||||
|
||||
[id]: http://example.com/ "Optional Title Here"
|
||||
This is [an example][id] reference-style link.
|
||||
Preview:
|
||||
***
|
||||
[id]: http://example.com/ "Optional Title Here"
|
||||
This is [an example][id] reference-style link.
|
||||
***
|
||||
That is:
|
||||
|
||||
* Square brackets containing the link identifier (**not case sensitive**, optionally indented from the left margin using up to three spaces);
|
||||
* followed by a colon;
|
||||
* followed by one or more spaces (or tabs);
|
||||
* followed by the URL for the link;
|
||||
* The link URL may, optionally, be surrounded by angle brackets.
|
||||
* optionally followed by a title attribute for the link, enclosed in double or single quotes, or enclosed in parentheses.
|
||||
|
||||
The following three link definitions are equivalent:
|
||||
|
||||
Code:
|
||||
|
||||
[foo]: http://example.com/ "Optional Title Here"
|
||||
[foo]: http://example.com/ 'Optional Title Here'
|
||||
[foo]: http://example.com/ (Optional Title Here)
|
||||
[foo]: <http://example.com/> "Optional Title Here"
|
||||
Uses an empty set of square brackets, the link text itself is used as the name.
|
||||
|
||||
Code:
|
||||
|
||||
[Google]: http://google.com/
|
||||
[Google][]
|
||||
Preview:
|
||||
***
|
||||
[Google]: http://google.com/
|
||||
[Google][]
|
||||
***
|
||||
### Emphasis
|
||||
HTML Tags: `<em>`, `<strong>`
|
||||
|
||||
Markdown treats **asterisks (*)** and **underscores (_)** as indicators of emphasis. **One delimiter** will be `<em>`; **double delimiters* will be `<strong>`.
|
||||
|
||||
Code:
|
||||
|
||||
*single asterisks*
|
||||
|
||||
_single underscores_
|
||||
|
||||
**double asterisks**
|
||||
|
||||
__double underscores__
|
||||
Preview:
|
||||
***
|
||||
*single asterisks*
|
||||
|
||||
_single underscores_
|
||||
|
||||
**double asterisks**
|
||||
|
||||
__double underscores__
|
||||
***
|
||||
But if you surround an * or _ with spaces, it’ll be treated as a literal asterisk or underscore.
|
||||
|
||||
You can backslash escape it:
|
||||
|
||||
Code:
|
||||
|
||||
\*this text is surrounded by literal asterisks\*
|
||||
Preview:
|
||||
***
|
||||
\*this text is surrounded by literal asterisks\*
|
||||
***
|
||||
### Code
|
||||
HTML Tag: `<code>`
|
||||
|
||||
Wraps it with **backtick quotes (`)**.
|
||||
|
||||
Code:
|
||||
|
||||
Use the `printf()` function.
|
||||
Preview:
|
||||
***
|
||||
Use the `printf()` function.
|
||||
***
|
||||
To include a literal backtick character within a code span, you can use **multiple backticks** as the opening and closing delimiters:
|
||||
|
||||
Code:
|
||||
|
||||
``There is a literal backtick (`) here.``
|
||||
Preview:
|
||||
***
|
||||
``There is a literal backtick (`) here.``
|
||||
***
|
||||
The backtick delimiters surrounding a code span may include spaces — one after the opening, one before the closing. This allows you to place literal backtick characters at the beginning or end of a code span:
|
||||
|
||||
Code:
|
||||
|
||||
A single backtick in a code span: `` ` ``
|
||||
|
||||
A backtick-delimited string in a code span: `` `foo` ``
|
||||
Preview:
|
||||
***
|
||||
A single backtick in a code span: `` ` ``
|
||||
|
||||
A backtick-delimited string in a code span: `` `foo` ``
|
||||
***
|
||||
### Images
|
||||
HTML Tag: `<img />`
|
||||
|
||||
Markdown uses an image syntax that is intended to resemble the syntax for links, allowing for two styles: inline and reference.
|
||||
#### Inline
|
||||
|
||||
Inline image syntax looks like this: ``
|
||||
|
||||
Title is optional.
|
||||
|
||||
Code:
|
||||
|
||||

|
||||
|
||||

|
||||
Preview:
|
||||
***
|
||||

|
||||
|
||||

|
||||
***
|
||||
That is:
|
||||
|
||||
* An exclamation mark: !;
|
||||
* followed by a set of square brackets, containing the alt attribute text for the image;
|
||||
* followed by a set of parentheses, containing the URL or path to the image, and an optional title attribute enclosed in double or single quotes.
|
||||
|
||||
#### Reference
|
||||
Reference-style image syntax looks like this: `![Alt text][id]`
|
||||
|
||||
Code:
|
||||
|
||||
[img id]: url/to/image "Optional title attribute"
|
||||
![Alt text][img id]
|
||||
Preview:
|
||||
***
|
||||
[img id]: url/to/image "Optional title attribute"
|
||||
![Alt text][img id]
|
||||
***
|
||||
### Strikethrough
|
||||
HTML Tag: `<del>`
|
||||
|
||||
It's an extension.
|
||||
|
||||
GFM adds syntax to strikethrough text.
|
||||
|
||||
Code:
|
||||
```
|
||||
~~Mistaken text.~~
|
||||
```
|
||||
Preview:
|
||||
***
|
||||
~~Mistaken text.~~
|
||||
***
|
||||
## Miscellaneous
|
||||
### Automatic Links
|
||||
Markdown supports a shortcut style for creating “automatic” links for URLs and email addresses: simply surround the URL or email address with angle brackets.
|
||||
|
||||
Code:
|
||||
|
||||
<http://example.com/>
|
||||
|
||||
<address@example.com>
|
||||
Preview:
|
||||
***
|
||||
<http://example.com/>
|
||||
|
||||
<address@example.com>
|
||||
***
|
||||
GFM will autolink standard URLs.
|
||||
|
||||
Code:
|
||||
```
|
||||
https://github.com/emn178/markdown
|
||||
```
|
||||
Preview:
|
||||
***
|
||||
https://github.com/emn178/markdown
|
||||
***
|
||||
|
||||
### Backslash Escapes
|
||||
Markdown allows you to use backslash escapes to generate literal characters which would otherwise have special meaning in Markdown’s formatting syntax.
|
||||
|
||||
Code:
|
||||
|
||||
\*literal asterisks\*
|
||||
Preview:
|
||||
***
|
||||
\*literal asterisks\*
|
||||
***
|
||||
Markdown provides backslash escapes for the following characters:
|
||||
|
||||
Code:
|
||||
|
||||
\ backslash
|
||||
` backtick
|
||||
* asterisk
|
||||
_ underscore
|
||||
{} curly braces
|
||||
[] square brackets
|
||||
() parentheses
|
||||
# hash mark
|
||||
+ plus sign
|
||||
- minus sign (hyphen)
|
||||
. dot
|
||||
! exclamation mark
|
||||
|
||||
## Inline HTML
|
||||
For any markup that is not covered by Markdown’s syntax, you simply use HTML itself. There’s no need to preface it or delimit it to indicate that you’re switching from Markdown to HTML; you just use the tags.
|
||||
|
||||
Code:
|
||||
|
||||
This is a regular paragraph.
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>Foo</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
This is another regular paragraph.
|
||||
Preview:
|
||||
***
|
||||
This is a regular paragraph.
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>Foo</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
This is another regular paragraph.
|
||||
***
|
||||
Note that Markdown formatting syntax is **not processed within block-level HTML tags**.
|
||||
|
||||
Unlike block-level HTML tags, Markdown syntax is **processed within span-level tags**.
|
||||
|
||||
Code:
|
||||
|
||||
<span>**Work**</span>
|
||||
|
||||
<div>
|
||||
**No Work**
|
||||
</div>
|
||||
Preview:
|
||||
***
|
||||
<span>**Work**</span>
|
||||
|
||||
<div>
|
||||
**No Work**
|
||||
</div>
|
||||
***
|
|
@ -1,26 +0,0 @@
|
|||
title: Starting to Actually Listen to The Lyrics in Music
|
||||
date: 2015-02-03 17:27:36
|
||||
categories:
|
||||
- Music
|
||||
banner: /hexo-theme-icarus/gallery/music2.jpg
|
||||
---
|
||||
This is a self-hosted audio test with some music. Sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia.
|
||||
<!-- more -->
|
||||
|
||||
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
|
||||
|
||||
“Dolores eos qui ratione voluptatem sequi nesciunt. Lorem ipsum dolor.”Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
||||
|
||||
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio.
|
||||
|
||||
It’s like a language. You learn the alphabet, which are the scales. You learn sentences, which are the chords. And then you talk extemporaneously with the horn. It’s a wonderful thing to speak extemporaneously, which is something I’ve never gotten the hang of. But musically I love to talk just off the top of my head. And that’s what jazz music is all about.
|
||||
|
||||
Stan Getz
|
||||
|
||||
Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
|
||||
|
||||
Eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
|
||||
|
||||
Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
||||
|
||||
Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni.
|
|
@ -1,21 +0,0 @@
|
|||
title: Take a Deep Breath and Just Be
|
||||
categories:
|
||||
- LifeStyle
|
||||
banner: /hexo-theme-icarus/gallery/salt-lake.jpg
|
||||
---
|
||||
This is Icarus, a free responsive, high resolution and pretty flexible theme for you to use to write about things you love. Make sure to check all the examples out! To download this theme or to check the full feature list, just go here. Feel free to leave a comment there if you digg it!
|
||||
<!-- more -->
|
||||
|
||||
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
|
||||
|
||||
“Dolores eos qui ratione voluptatem sequi nesciunt. Lorem ipsum dolor.”Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
||||
|
||||
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio.
|
||||
|
||||
It’s like a language. You learn the alphabet, which are the scales. You learn sentences, which are the chords. And then you talk extemporaneously with the horn. It’s a wonderful thing to speak extemporaneously, which is something I’ve never gotten the hang of. But musically I love to talk just off the top of my head. And that’s what jazz music is all about.
|
||||
|
||||
Stan Getz
|
||||
|
||||
Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
|
||||
|
||||
Eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
|
|
@ -0,0 +1,19 @@
|
|||
title: Changyan Comment Plugin
|
||||
date: 2017-01-01
|
||||
categories:
|
||||
- Configuration
|
||||
- Comment Plugins
|
||||
comment:
|
||||
type: changyan
|
||||
appid: cyrDUlCiF
|
||||
conf: prod_43aadda874910d8f86160e62e6a1ade7
|
||||
---
|
||||
|
||||
[Installation instructions](http://changyan.kuaizhan.com/install/code/pc)
|
||||
|
||||
{% codeblock lang:yaml _config.yml %}
|
||||
comment:
|
||||
type: changyan
|
||||
appid: xxxxxxxx # (required)
|
||||
conf: prod_xxxxxxxx # (required)
|
||||
{% endcodeblock %}
|
|
@ -0,0 +1,26 @@
|
|||
title: Disqus Comment Plugin
|
||||
date: 2017-01-01
|
||||
categories:
|
||||
- Configuration
|
||||
- Comment Plugins
|
||||
tags:
|
||||
- Getting Started
|
||||
comment:
|
||||
type: disqus
|
||||
shortname: hexo-theme-icarus
|
||||
---
|
||||
|
||||
[Installation instructions](https://disqus.com/admin/install/platforms/universalcode/)
|
||||
|
||||
{% codeblock lang:yaml _config.yml %}
|
||||
comment:
|
||||
type: disqus
|
||||
shortname: xxxxxxxx # (required)
|
||||
{% endcodeblock%}
|
||||
|
||||
{% codeblock lang:yaml post.md %}
|
||||
# (optional) a unique id to identify the post in Disqus system
|
||||
disqusId: xxxxxxxx
|
||||
---
|
||||
Post content...
|
||||
{% endcodeblock%}
|
|
@ -0,0 +1,15 @@
|
|||
title: Facebook Comment Plugin
|
||||
date: 2017-01-01
|
||||
categories:
|
||||
- Configuration
|
||||
- Comment Plugins
|
||||
comment:
|
||||
type: facebook
|
||||
---
|
||||
|
||||
[Installation instructions](https://developers.facebook.com/docs/plugins/comments/)
|
||||
|
||||
{% codeblock lang:yaml _config.yml %}
|
||||
comment:
|
||||
type: facebook
|
||||
{% endcodeblock%}
|
|
@ -0,0 +1,23 @@
|
|||
title: Gitment Comment Plugin
|
||||
date: 2017-01-01
|
||||
categories:
|
||||
- Configuration
|
||||
- Comment Plugins
|
||||
comment:
|
||||
type: gitment
|
||||
owner: ppoffice
|
||||
repo: Public-Gitment-Repo
|
||||
client_id: 4828a94319a33c305063
|
||||
client_secret: 5ea20158d656eaf0141dbb4eb38dd91737e3ca7d
|
||||
---
|
||||
|
||||
[Installation instructions](https://github.com/imsun/gitment)
|
||||
|
||||
{% codeblock lang:yaml _config.yml %}
|
||||
comment:
|
||||
type: gitment
|
||||
owner: xxxxxxxx # (required) GitHub user name
|
||||
repo: xxxxxxxx # (required) GitHub repository name
|
||||
client_id: xxxxxxxx # (required) OAuth application client id
|
||||
client_secret: xxxxxxxx # (required) OAuth application client secret
|
||||
{% endcodeblock%}
|
|
@ -0,0 +1,14 @@
|
|||
title: Isso Comment Plugin
|
||||
date: 2017-01-01
|
||||
categories:
|
||||
- Configuration
|
||||
- Comment Plugins
|
||||
---
|
||||
|
||||
[Installation instructions](https://posativ.org/isso/docs/quickstart/#integration)
|
||||
|
||||
{% codeblock lang:yaml _config.yml %}
|
||||
comment:
|
||||
type: isso
|
||||
url: isso.service/path # (required) url of your Isso service
|
||||
{% endcodeblock%}
|
|
@ -0,0 +1,17 @@
|
|||
title: LiveRe Comment Plugin
|
||||
date: 2017-01-01
|
||||
categories:
|
||||
- Configuration
|
||||
- Comment Plugins
|
||||
comment:
|
||||
type: livere
|
||||
uid: MTAyMC8zNTExMS8xMTY0Ng==
|
||||
---
|
||||
|
||||
[Installation instructions](https://livere.com/insight/myCode)
|
||||
|
||||
{% codeblock lang:yaml _config.yml %}
|
||||
comment:
|
||||
type: livere
|
||||
uid: xxxxxxxx # (required) application id of your site
|
||||
{% endcodeblock%}
|
|
@ -0,0 +1,25 @@
|
|||
title: Valine Comment Plugin
|
||||
date: 2017-01-01
|
||||
categories:
|
||||
- Configuration
|
||||
- Comment Plugins
|
||||
comment:
|
||||
type: valine
|
||||
app_id: QuQK82UpN8gNkXIaKIszbPUY-gzGzoHsz
|
||||
app_key: B0D5cYRcXrwNGnBoQdRoDTqw
|
||||
notify: false
|
||||
verify: false
|
||||
placeholder: Valine Comment
|
||||
---
|
||||
|
||||
[Installation instructions](https://valine.js.org/quickstart.html)
|
||||
|
||||
{% codeblock lang:yaml _config.yml %}
|
||||
comment:
|
||||
type: valine
|
||||
app_id: xxxxxxxx # (required) LeanCloud application id
|
||||
app_key: xxxxxxxx # (required) LeanCloud application key
|
||||
notify: false # (optional) receive email notification
|
||||
verify: false # (optional) show verification code
|
||||
placeholder: xxxxxxxx # (optional) comment box placeholder text
|
||||
{% endcodeblock%}
|
|
@ -1,21 +1,19 @@
|
|||
title: اختبار اللغة العربية
|
||||
date: 2016-01-30 10:15:01
|
||||
categories:
|
||||
- Language Test
|
||||
- Languages
|
||||
comments: false
|
||||
banner: /hexo-theme-icarus/gallery/arabic-pyramid.jpg
|
||||
thumbnail: /gallery/world/arabic-pyramid.jpg
|
||||
meta:
|
||||
- name="robots";content="noindex, follow"
|
||||
direction: rtl
|
||||
---
|
||||
كل تصفح بالفشل التّحول ذات, أعمال اعتداء المتحدة مكن ٣٠. تلك للسيطرة واشتدّت أن, بل انذار العاصمة الخاسرة أما. تحت مع دفّة بالرّغم, وبالرغم وبالتحديد، مع جهة. مسارح يتمكن يتسنّى جهة ان, التي اتفاقية قد كان. فمرّ الوراء ان غير. شيء ما شمال أدوات بالجانب, لكل وشعار اتفاق بـ, بها الإنزال مواقعها في. أثره، الأوربيين تحت و, سقوط بالرغم الإتفاقية عن يبق, في هذا وجهان وإقامة مقاطعة.
|
||||
|
||||
<!-- more -->
|
||||
عن أخرى الأجل واشتدّت ضرب, يبق تم دارت جيوب, ٣٠ وبداية ابتدعها الأمريكي أخر. لم كما شرسة غرّة، الأعمال, كل بخطوط وعُرفت الضروري ولم, وسفن واستمرت تلك من. مع حيث وأزيز الأخذ, فاتّبع مقاطعة ويكيبيديا، عن وفي, بـ لها كثيرة المتحدة. قد ضرب وسوء إعلان, ان وتم اعتداء إستيلاء, يكن نقطة معاملة ثم. بحث في بلديهما الصينية, هذه ما حصدت شرسة, ذات أم الشمل والقرى.
|
||||
|
||||
بينما أوراقهم مكن تم, تحت أي وفنلندا بمحاولة شموليةً. بحث عن بلديهما المنتصر, لم شاسعة للجزر كلا. بل مما وتنصيب بمباركة والكوري, هناك الأرض تم قبل. غضون عُقر الجديدة، يبق مع, أثره، واُسدل استعملت تم تلك.
|
||||
|
||||
<!-- more -->
|
||||
|
||||
عن فصل هُزم والنرويج. قد بحق أواخر نتيجة قُدُماً, جعل ان تمهيد الشتاء الشّعبين. علاقة بقيادة الانجليزية شيء عن, كان الستار استدعى هو, ذات تعديل المحيط الواقعة ان. في غير مليون وبالرغم تزامناً, ان جُل حقول يذكر بالعمل, ما انه فشكّل والنفيس.
|
||||
|
||||
لكل معارضة بمحاولة الإقتصادية عن, من تلك الشمل الأبرياء. أمّا والعتاد هو ولم, مما كردة الجو ابتدعها ثم. الغالي العالم إيو هو. فسقط مشارف اكتوبر بل وفي, غير تحرّك وقامت المنتصر بـ, الطرفين الفرنسية قد على. الى هو إستعمل السيطرة, ضرب رئيس مساعدة ثم.
|
||||
|
@ -29,51 +27,3 @@ direction: rtl
|
|||
كل فمرّ وانتهاءً حين. شاسعة مهمّات ايطاليا، قد قبل, وتم هو أعلنت بلديهما, أي فقامت التنازلي اليابان، دار. ثم ضمنها الإمتعاض بريطانيا-فرنسا على, قد حول وقرى استدعى. أوروبا ألمانيا ٣٠ يبق. عرض إذ احداث الصين. في بين ببعض ويكيبيديا،, وصل بسبب تحرير النفط بـ.
|
||||
|
||||
التي ضمنها به، إذ, دارت مشروط أي حول, فقد عن فقامت الأرضية ماليزيا،. تنفّس انتهت يونيو شيء إذ, أي عدم لليابان الدولارات. وإقامة الخاطفة والمانيا عن حول. بل جُل أكثر والإتحاد, تم ضرب انتباه والإتحاد. من قامت انتهت دنو.
|
||||
|
||||
|
||||
```java
|
||||
package stone;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
/**
|
||||
* Created by ppoffice on 2015/12/15.
|
||||
*/
|
||||
public class ASTLeaf extends ASTree {
|
||||
private static ArrayList<ASTree> empty = new ArrayList<>();
|
||||
protected Token token;
|
||||
|
||||
public ASTLeaf(Token t) {
|
||||
token = t;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ASTree child(int i) {
|
||||
throw new IndexOutOfBoundsException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int numChildren() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterator<ASTree> children() {
|
||||
return empty.iterator();
|
||||
}
|
||||
|
||||
public String toString () {
|
||||
return token.getText();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String location() {
|
||||
return "at line " + token.getLineNumber();
|
||||
}
|
||||
|
||||
public Token token () {
|
||||
return token;
|
||||
}
|
||||
}
|
||||
```
|
|
@ -0,0 +1,26 @@
|
|||
title: 中文测试
|
||||
date: 2016-01-31 21:55:37
|
||||
categories:
|
||||
- Languages
|
||||
comments: false
|
||||
thumbnail: /gallery/world/china-great-wall.jpg
|
||||
meta:
|
||||
- name="robots";content="noindex, follow"
|
||||
---
|
||||
有学新战经商必相龙,流包命万整情那者,目受村战走批器。 花位口管各并至志车般政,道土口精算要做越便明系,县状M极建育苗老圆。 越合题相农动速真明电清革根,无验个已主中则反必取天红,铁路发9话拉男农葛认刷。
|
||||
<!-- more -->
|
||||
住究前些效打习那置长,的劳价制小保起合文米程,美型J攻治葡识工刷。
|
||||
|
||||
天并委前行过,选问每世里型,速两辆都。 行数存的即志全规,接内心了并心,发需极北论呜。 县而劳专先多品,府自周外别进,世K观际身。 备放必事制龙二便增,活细样百数部查以力,技V苍集具材度。 没么般能这技书路单些海严,华整争斯府屈器强根利。
|
||||
|
||||
条或流她生更般新林个想便厂造,里备准程新花豆进拉行科Q。 多切战很气位油响立战几极白,出现观效写我屈观根关较。
|
||||
|
||||
必因文红任治现省员选心快,角生果金制给政学育习,来问弦大她代行雨吹劳。 研两果极求酸王,业常名风又管干,内F赚整圆。
|
||||
|
||||
等素能运矿半省这科易,积还看共式院思只作住,石求8千知伶号王。 水据对表身压,事原江如学义,给Z束北。 理效风精南严消定务色八,计是报取记面方才速才,易下C更管询秀却他。
|
||||
|
||||
她了会么教群美院度,省己等业类热所达走,C最整抄隶。 道化必下好转速观如看,细消要造电基性图道加,增受N性吨为均气。 制化装而系大数知,原式豆飞露。 难们明候织用好布正公在,风单道者格直革意平很资,引应建深土最种见秩。
|
||||
|
||||
适公新究观细军除书们收,构活局直业反情起时,看族求肃布W雨质一。 么准及八在改眼马热二支空,数精人题气音总集就花备候,转广蠢才养观为杆细孤。 少件根且决断下育十法,或府心与证整属问,想管S男数年医杨。
|
||||
|
||||
保想省亲进图经合,取严与录花情。
|
|
@ -0,0 +1,26 @@
|
|||
title: Site Analytics Plugin
|
||||
date: 2018-01-01
|
||||
categories:
|
||||
- Configuration
|
||||
- Other Plugins
|
||||
---
|
||||
|
||||
### Google Analytics
|
||||
|
||||
[Installation instructions](https://analytics.google.com/analytics/web)
|
||||
|
||||
{% codeblock lang:yaml _config.yml %}
|
||||
plugins:
|
||||
google-analytics:
|
||||
tracking_id: XXXXXX (required)
|
||||
{% endcodeblock %}
|
||||
|
||||
### Baidu Analytics
|
||||
|
||||
[Installation instructions](https://tongji.baidu.com/web/welcome/login)
|
||||
|
||||
{% codeblock lang:yaml _config.yml %}
|
||||
plugins:
|
||||
baidu-analytics:
|
||||
tracking_id: XXXXXX (required)
|
||||
{% endcodeblock %}
|
|
@ -0,0 +1,43 @@
|
|||
title: Gallery Plugin
|
||||
date: 2016-07-08 00:00:00
|
||||
categories:
|
||||
- Configuration
|
||||
- Other Plugins
|
||||
---
|
||||
|
||||
{% quote %}
|
||||
The following photos come from <a href="https://www.pexels.com">pexel.com</a>
|
||||
{% endquote %}
|
||||
|
||||
You can add photos between text to create a gallery like this:
|
||||
|
||||

|
||||
|
||||
<!-- more -->
|
||||
or this:
|
||||
|
||||

|
||||
|
||||
Furthermore, you can also use Justified Gallery to display you photos in a grid:
|
||||
|
||||
<div class="justified-gallery">
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
</div>
|
||||
|
||||
{% codeblock lang:html HTML + Markdown %}
|
||||
<div class="justified-gallery">
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
</div>
|
||||
{% endcodeblock %}
|
|
@ -1,14 +1,15 @@
|
|||
title: MathJax Example
|
||||
date: 2016-07-08 20:07:55
|
||||
title: MathJax Plugin
|
||||
date: 2018-01-01
|
||||
categories:
|
||||
- Technology
|
||||
- Configuration
|
||||
- Other Plugins
|
||||
tags:
|
||||
banner: /hexo-theme-icarus/gallery/math.jpg
|
||||
thumbnail: /gallery/math.jpg
|
||||
---
|
||||
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><mrow><mi>f</mi><mrow><mo>(</mo><mi>a</mi><mo>)</mo></mrow></mrow><mo>=</mo><mrow><mfrac><mn>1</mn><mrow><mn>2</mn><mi>π</mi><mi>i</mi></mrow></mfrac><msub><mo>∮</mo><mrow><mi>γ</mi></mrow></msub><mfrac><mrow><mi>f</mi><mo>(</mo><mi>z</mi><mo>)</mo></mrow><mrow><mi>z</mi><mo>−</mo><mi>a</mi></mrow></mfrac><mi>d</mi><mi>z</mi></mrow></math>
|
||||
|
||||
## Configuration
|
||||
### Configuration
|
||||
|
||||
To enable MathJax support, just set `plugins.mathjax = true` in your theme `_config.yml` file.
|
||||
|
||||
|
@ -30,39 +31,39 @@ For further MathJax configurations, please edit `<theme folder>/layout/plugin/sc
|
|||
<% } %>
|
||||
```
|
||||
|
||||
## TeX and LaTeX input
|
||||
### TeX and LaTeX input
|
||||
> Please be noted that when you write Tex/LaTeX in Markdown files, you need to use escape characters to prevent certain signs from being processed by Markdown interpreter.
|
||||
|
||||
#### Input
|
||||
##### Input
|
||||
```
|
||||
When $a \ne 0$, there are two solutions to \\(ax^2 + bx + c = 0\\) and they are
|
||||
$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$
|
||||
```
|
||||
|
||||
#### Result
|
||||
##### Result
|
||||
When $a \ne 0$, there are two solutions to \\(ax^2 + bx + c = 0\\) and they are
|
||||
$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$
|
||||
|
||||
## MathML input
|
||||
### MathML input
|
||||
> Attention: please be noted that newline characters will be transformed to `<br>` tag by Markdown interpreter and this will interfere with MathML notation. Please write all MathML inline.
|
||||
|
||||
#### Input
|
||||
##### Input
|
||||
```
|
||||
When<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>a</mi><mo>≠</mo><mn>0</mn></math>, there are two solutions to <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>a</mi><msup><mi>x</mi><mn>2</mn></msup><mo>+</mo> <mi>b</mi><mi>x</mi><mo>+</mo> <mi>c</mi> <mo>=</mo> <mn>0</mn></math> and they are
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><mi>x</mi> <mo>=</mo><mrow><mfrac><mrow><mo>−</mo><mi>b</mi><mo>±</mo><msqrt><msup><mi>b</mi><mn>2</mn></msup><mo>−</mo><mn>4</mn><mi>a</mi><mi>c</mi></msqrt></mrow><mrow> <mn>2</mn><mi>a</mi> </mrow></mfrac></mrow><mtext>.</mtext></math>
|
||||
```
|
||||
|
||||
#### Result
|
||||
##### Result
|
||||
When<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>a</mi><mo>≠</mo><mn>0</mn></math>, there are two solutions to <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>a</mi><msup><mi>x</mi><mn>2</mn></msup><mo>+</mo> <mi>b</mi><mi>x</mi><mo>+</mo> <mi>c</mi> <mo>=</mo> <mn>0</mn></math> and they are
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><mi>x</mi> <mo>=</mo><mrow><mfrac><mrow><mo>−</mo><mi>b</mi><mo>±</mo><msqrt><msup><mi>b</mi><mn>2</mn></msup><mo>−</mo><mn>4</mn><mi>a</mi><mi>c</mi></msqrt></mrow><mrow> <mn>2</mn><mi>a</mi> </mrow></mfrac></mrow><mtext>.</mtext></math>
|
||||
|
||||
## AsciiMath input
|
||||
### AsciiMath input
|
||||
> Attention: please be noted that when you write AsciiMath in Markdown files, you need to use escape characters to prevent certain signs from being processed by Markdown interpreter.
|
||||
|
||||
#### Input
|
||||
##### Input
|
||||
```
|
||||
When \`a != 0\`, there are two solutions to \`ax^2 + bx + c = 0\` and they are<p style="text-align:center">\`x = (-b +- sqrt(b^2-4ac))/(2a) .\`</p>
|
||||
```
|
||||
|
||||
#### Result
|
||||
##### Result
|
||||
When \`a != 0\`, there are two solutions to \`ax^2 + bx + c = 0\` and they are<p style="text-align:center">\`x = (-b +- sqrt(b^2-4ac))/(2a) .\`</p>
|
|
@ -0,0 +1,287 @@
|
|||
title: Hexo Built-in Tag Helpers
|
||||
date: 2016-07-08 20:07:55
|
||||
categories:
|
||||
- Configuration
|
||||
- Posts
|
||||
tags:
|
||||
- Getting Started
|
||||
toc: true
|
||||
---
|
||||
|
||||
{% quote %}
|
||||
The following content is directly copied from <a href="https://hexo.io/docs/tag-plugins.html">Hexo official documentation</a>
|
||||
{% endquote %}
|
||||
|
||||
Tag plugins are different from post tags. They are ported from Octopress and provide a useful way for you to quickly add specific content to your posts.
|
||||
<!-- more -->
|
||||
## Block Quote
|
||||
|
||||
Perfect for adding quotes to your post, with optional author, source and title information.
|
||||
|
||||
**Alias:** quote
|
||||
|
||||
```
|
||||
{% blockquote [author[, source]] [link] [source_link_title] %}
|
||||
content
|
||||
{% endblockquote %}
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
**No arguments. Plain blockquote.**
|
||||
|
||||
```
|
||||
{% blockquote %}
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque hendrerit lacus ut purus iaculis feugiat. Sed nec tempor elit, quis aliquam neque. Curabitur sed diam eget dolor fermentum semper at eu lorem.
|
||||
{% endblockquote %}
|
||||
```
|
||||
|
||||
{% blockquote %}
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque hendrerit lacus ut purus iaculis feugiat. Sed nec tempor elit, quis aliquam neque. Curabitur sed diam eget dolor fermentum semper at eu lorem.
|
||||
{% endblockquote %}
|
||||
|
||||
**Quote from a book**
|
||||
|
||||
```
|
||||
{% blockquote David Levithan, Wide Awake %}
|
||||
Do not just seek happiness for yourself. Seek happiness for all. Through kindness. Through mercy.
|
||||
{% endblockquote %}
|
||||
```
|
||||
|
||||
{% blockquote David Levithan, Wide Awake %}
|
||||
Do not just seek happiness for yourself. Seek happiness for all. Through kindness. Through mercy.
|
||||
{% endblockquote %}
|
||||
|
||||
**Quote from Twitter**
|
||||
|
||||
```
|
||||
{% blockquote @DevDocs https://twitter.com/devdocs/status/356095192085962752 %}
|
||||
NEW: DevDocs now comes with syntax highlighting. http://devdocs.io
|
||||
{% endblockquote %}
|
||||
```
|
||||
|
||||
{% blockquote @DevDocs https://twitter.com/devdocs/status/356095192085962752 %}
|
||||
NEW: DevDocs now comes with syntax highlighting. http://devdocs.io
|
||||
{% endblockquote %}
|
||||
|
||||
**Quote from an article on the web**
|
||||
|
||||
```
|
||||
{% blockquote Seth Godin http://sethgodin.typepad.com/seths_blog/2009/07/welcome-to-island-marketing.html Welcome to Island Marketing %}
|
||||
Every interaction is both precious and an opportunity to delight.
|
||||
{% endblockquote %}
|
||||
```
|
||||
|
||||
{% blockquote Seth Godin http://sethgodin.typepad.com/seths_blog/2009/07/welcome-to-island-marketing.html Welcome to Island Marketing %}
|
||||
Every interaction is both precious and an opportunity to delight.
|
||||
{% endblockquote %}
|
||||
|
||||
## Code Block
|
||||
|
||||
Useful feature for adding code snippets to your post.
|
||||
|
||||
**Alias:** code
|
||||
|
||||
```
|
||||
{% codeblock [title] [lang:language] [url] [link text] %}
|
||||
code snippet
|
||||
{% endcodeblock %}
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
**A plain code block**
|
||||
|
||||
```
|
||||
{% codeblock %}
|
||||
alert('Hello World!');
|
||||
{% endcodeblock %}
|
||||
```
|
||||
|
||||
{% codeblock %}
|
||||
alert('Hello World!');
|
||||
{% endcodeblock %}
|
||||
|
||||
**Specifying the language**
|
||||
|
||||
```
|
||||
{% codeblock lang:objc %}
|
||||
[rectangle setX: 10 y: 10 width: 20 height: 20];
|
||||
{% endcodeblock %}
|
||||
```
|
||||
|
||||
{% codeblock lang:objc %}
|
||||
[rectangle setX: 10 y: 10 width: 20 height: 20];
|
||||
{% endcodeblock %}
|
||||
|
||||
**Adding a caption to the code block**
|
||||
|
||||
```
|
||||
{% codeblock Array.map %}
|
||||
array.map(callback[, thisArg])
|
||||
{% endcodeblock %}
|
||||
```
|
||||
|
||||
{% codeblock Array.map %}
|
||||
array.map(callback[, thisArg])
|
||||
{% endcodeblock %}
|
||||
|
||||
**Adding a caption and a URL**
|
||||
|
||||
```
|
||||
{% codeblock _.compact http://underscorejs.org/#compact Underscore.js %}
|
||||
_.compact([0, 1, false, 2, '', 3]);
|
||||
=> [1, 2, 3]
|
||||
{% endcodeblock %}
|
||||
```
|
||||
|
||||
{% codeblock _.compact http://underscorejs.org/#compact Underscore.js %}
|
||||
_.compact([0, 1, false, 2, '', 3]);
|
||||
=> [1, 2, 3]
|
||||
{% endcodeblock %}
|
||||
|
||||
## Backtick Code Block
|
||||
|
||||
This is identical to using a code block, but instead uses three backticks to delimit the block.
|
||||
|
||||
````
|
||||
``` [language] [title] [url] [link text]
|
||||
code snippet
|
||||
```
|
||||
````
|
||||
|
||||
## Pull Quote
|
||||
|
||||
{% pullquote %}
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi semper auctor nulla, a mollis nibh congue luctus. Mauris
|
||||
sagittis dui sit amet scelerisque gravida. Proin porttitor convallis libero.
|
||||
{% endpullquote %}
|
||||
|
||||
To add pull quotes to your posts:
|
||||
|
||||
```
|
||||
{% pullquote [CSS class] %}
|
||||
content
|
||||
{% endpullquote %}
|
||||
```
|
||||
|
||||
## jsFiddle
|
||||
|
||||
To embed a jsFiddle snippet:
|
||||
|
||||
```
|
||||
{% jsfiddle shorttag [tabs] [skin] [width] [height] %}
|
||||
```
|
||||
|
||||
{% jsfiddle zx2xyzea js,html,css,result light 100% 400 %}
|
||||
|
||||
## Gist
|
||||
|
||||
To embed a Gist snippet:
|
||||
|
||||
```
|
||||
{% gist gist_id [filename] %}
|
||||
```
|
||||
|
||||
{% gist defunkt/2059 %}
|
||||
|
||||
## iframe
|
||||
|
||||
To embed an iframe:
|
||||
|
||||
```
|
||||
{% iframe url [width] [height] %}
|
||||
```
|
||||
|
||||
{% iframe https://hexo.io 100% 400 %}
|
||||
|
||||
## Image
|
||||
|
||||
Inserts an image with specified size.
|
||||
|
||||
```
|
||||
{% img [class names] /path/to/image [width] [height] [title text [alt text]] %}
|
||||
```
|
||||
|
||||
{% img /gallery/forest.jpg 100% 100% '"Forest path" "Forest path"' %}
|
||||
|
||||
## Link
|
||||
|
||||
Inserts a link with `target="_blank"` attribute.
|
||||
|
||||
```
|
||||
{% link text url [external] [title] %}
|
||||
```
|
||||
|
||||
{% link Hexo.io https://hexo.io true Hexo.io %}
|
||||
|
||||
## Include Code
|
||||
|
||||
Inserts code snippets in `source/downloads/code` folder.
|
||||
|
||||
```
|
||||
{% include_code [title] [lang:language] path/to/file %}
|
||||
```
|
||||
|
||||
{% include_code Example lang:javascript example.js %}
|
||||
|
||||
## YouTube
|
||||
|
||||
Inserts a YouTube video.
|
||||
|
||||
```
|
||||
{% youtube video_id %}
|
||||
```
|
||||
|
||||
{% youtube yaqe1qesQ8c %}
|
||||
|
||||
## Vimeo
|
||||
|
||||
Inserts a Vimeo video.
|
||||
|
||||
```
|
||||
{% vimeo video_id %}
|
||||
```
|
||||
|
||||
{% vimeo 191822120 %}
|
||||
|
||||
## Include Posts
|
||||
|
||||
Include links to other posts.
|
||||
|
||||
```
|
||||
{% post_path slug %}
|
||||
{% post_link slug [title] %}
|
||||
```
|
||||
|
||||
## Include Assets
|
||||
|
||||
Include post assets.
|
||||
|
||||
```
|
||||
{% asset_path slug %}
|
||||
{% asset_img slug [title] %}
|
||||
{% asset_link slug [title] %}
|
||||
```
|
||||
|
||||
## Raw
|
||||
|
||||
If certain content is causing processing issues in your posts, wrap it with the `raw` tag to avoid rendering errors.
|
||||
|
||||
```
|
||||
{% raw %}
|
||||
content
|
||||
{% endraw %}
|
||||
```
|
||||
|
||||
## Post Excerpt
|
||||
|
||||
Use text placed before the `<!-- more -->` tag as an excerpt for the post.
|
||||
|
||||
**Examples:**
|
||||
|
||||
```
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
||||
<!-- more -->
|
||||
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||
```
|
|
@ -1,26 +1,19 @@
|
|||
title: Table of Contents Example
|
||||
date: 2015-03-10 22:46:00
|
||||
categories:
|
||||
- Technology
|
||||
tags:
|
||||
- markdown
|
||||
banner: /hexo-theme-icarus/gallery/snow-wolf.jpg
|
||||
- Configuration
|
||||
- Posts
|
||||
toc: true
|
||||
---
|
||||
# How to enable table of content for a post?
|
||||
|
||||
<!-- more -->
|
||||
|
||||
Add the highlighted line to the front-matter of your post Markdown file:
|
||||
|
||||
```diff
|
||||
title: Table of Contents Example
|
||||
date: 2015-03-10 22:46:00
|
||||
banner: /hexo-theme-hueman/gallery/little-girl.jpg
|
||||
+ toc: true
|
||||
```
|
||||
|
||||
And that's it!
|
||||
<!-- more -->
|
||||
|
||||
# First level title
|
||||
## Second level title
|
|
@ -0,0 +1,13 @@
|
|||
title: Baidu Search Plugin
|
||||
date: 2018-01-01
|
||||
categories:
|
||||
- Configuration
|
||||
- Search Plugins
|
||||
search:
|
||||
type: baidu
|
||||
---
|
||||
|
||||
{% codeblock lang:yaml _config.yml %}
|
||||
search:
|
||||
type: baidu
|
||||
{% endcodeblock%}
|
|
@ -0,0 +1,17 @@
|
|||
title: Google CSE Plugin
|
||||
date: 2018-01-01
|
||||
categories:
|
||||
- Configuration
|
||||
- Search Plugins
|
||||
search:
|
||||
type: google-cse
|
||||
cx: 006888261376761189075:h9ecq7wzdlc
|
||||
---
|
||||
|
||||
[Installation instructions](https://cse.google.com/cse/create/new)
|
||||
|
||||
{% codeblock lang:yaml _config.yml %}
|
||||
search:
|
||||
type: google-cse
|
||||
cx: xxxxxxxxxxxxxxxxx # (required)
|
||||
{% endcodeblock%}
|
|
@ -0,0 +1,19 @@
|
|||
title: Insight Search Plugin
|
||||
date: 2018-01-01
|
||||
categories:
|
||||
- Configuration
|
||||
- Search Plugins
|
||||
tags:
|
||||
- Getting Started
|
||||
search:
|
||||
type: insight
|
||||
---
|
||||
|
||||
{% quote %}
|
||||
From Icarus 2, you no longer need to install <code>hexo-generator-json-content</code> to be able to use the insight search.
|
||||
{% endquote %}
|
||||
|
||||
{% codeblock lang:yaml _config.yml %}
|
||||
search:
|
||||
type: insight
|
||||
{% endcodeblock%}
|
|
@ -0,0 +1,17 @@
|
|||
title: AddThis Share Plugin
|
||||
date: 2018-01-01
|
||||
categories:
|
||||
- Configuration
|
||||
- Share Plugins
|
||||
share:
|
||||
type: addthis
|
||||
install_url: //s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5ab6fa5759854232
|
||||
---
|
||||
|
||||
[Installation instructions](https://www.addthis.com/dashboard)
|
||||
|
||||
{% codeblock lang:yaml _config.yml %}
|
||||
share:
|
||||
type: addthis
|
||||
install_url: //s7.addthis.com/js/300/addthis_widget.js#pubid=xxxxxxxx # (required)
|
||||
{% endcodeblock%}
|
|
@ -0,0 +1,15 @@
|
|||
title: AddToAny Share Plugin
|
||||
date: 2018-01-01
|
||||
categories:
|
||||
- Configuration
|
||||
- Share Plugins
|
||||
share:
|
||||
type: addtoany
|
||||
---
|
||||
|
||||
[Installation instructions](https://www.addtoany.com/buttons/)
|
||||
|
||||
{% codeblock lang:yaml _config.yml %}
|
||||
share:
|
||||
type: addtoany
|
||||
{% endcodeblock%}
|
|
@ -0,0 +1,15 @@
|
|||
title: Baidu Share Plugin
|
||||
date: 2018-01-01
|
||||
categories:
|
||||
- Configuration
|
||||
- Share Plugins
|
||||
share:
|
||||
type: bdshare
|
||||
---
|
||||
|
||||
[Installation instructions](http://share.baidu.com/code)
|
||||
|
||||
{% codeblock lang:yaml _config.yml %}
|
||||
share:
|
||||
type: bdshare
|
||||
{% endcodeblock%}
|
|
@ -0,0 +1,19 @@
|
|||
title: ShareThis Share Plugin
|
||||
date: 2018-01-01
|
||||
categories:
|
||||
- Configuration
|
||||
- Share Plugins
|
||||
tags:
|
||||
- Getting Started
|
||||
share:
|
||||
type: sharethis
|
||||
install_url: //platform-api.sharethis.com/js/sharethis.js#property=5ab6f60ace89f00013641890&product=inline-share-buttons
|
||||
---
|
||||
|
||||
[Installation instructions](https://platform.sharethis.com/settings)
|
||||
|
||||
{% codeblock lang:yaml _config.yml %}
|
||||
share:
|
||||
type: sharethis
|
||||
install_url: //platform-api.sharethis.com/js/sharethis.js#...... # (required)
|
||||
{% endcodeblock%}
|
|
@ -0,0 +1,15 @@
|
|||
title: Share.js Share Plugin
|
||||
date: 2018-01-01
|
||||
categories:
|
||||
- Configuration
|
||||
- Share Plugins
|
||||
share:
|
||||
type: sharejs
|
||||
---
|
||||
|
||||
[Installation instructions](https://github.com/overtrue/share.js)
|
||||
|
||||
{% codeblock lang:yaml _config.yml %}
|
||||
share:
|
||||
type: sharejs
|
||||
{% endcodeblock%}
|
|
@ -1,3 +0,0 @@
|
|||
title: "Categories"
|
||||
layout: "categories"
|
||||
---
|
After Width: | Height: | Size: 201 KiB |
After Width: | Height: | Size: 210 KiB |
After Width: | Height: | Size: 354 KiB |
After Width: | Height: | Size: 526 KiB |
After Width: | Height: | Size: 622 KiB |
After Width: | Height: | Size: 206 KiB |
After Width: | Height: | Size: 457 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 272 KiB After Width: | Height: | Size: 272 KiB |
Before Width: | Height: | Size: 128 KiB |
Before Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 208 KiB |
Before Width: | Height: | Size: 205 KiB |
Before Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 553 KiB |
Before Width: | Height: | Size: 328 KiB |
Before Width: | Height: | Size: 470 KiB |
Before Width: | Height: | Size: 413 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 714 KiB |
Before Width: | Height: | Size: 576 KiB |
Before Width: | Height: | Size: 326 KiB |
Before Width: | Height: | Size: 362 KiB |
Before Width: | Height: | Size: 107 KiB |
Before Width: | Height: | Size: 143 KiB After Width: | Height: | Size: 143 KiB |
Before Width: | Height: | Size: 233 KiB After Width: | Height: | Size: 233 KiB |
|
@ -1,3 +0,0 @@
|
|||
title: "Tags"
|
||||
layout: "tags"
|
||||
---
|
|
@ -1 +1 @@
|
|||
Subproject commit 633f3ad7145297802cd5fd39795af3a6d38dcbd6
|
||||
Subproject commit 7f845e2320efbb70980b9365b0813ec1b73a20cf
|