TagPlugins Test


In Hexo, Tag Plugins are used for inserting specific content into the article. Let me show you how it works here.

Quote

1
2
3
{% blockquote [author[, source]] [link] [source_link_title] %}
content
{% endblockquote %}

Example:

Use all the parameters

Don’t worry, Tweet happy. (Quote from twitter)

Code Block

1
2
3
{% codeblock [lang:language] [description] [source_link for description]%}
code
{% endcodeblock %}

Example:

test-java
1
2
3
public static void display(){
System.out.println("Test for code block");
}

jsFiddle

1
{% jsfiddle shorttag [tabs] [skin] [width] [height] %}

Gist

Embed with js:

Embed with tag plugins:

Gist Preview on bl.ocks: https://bl.ocks.org/ZequnSong/08f61c6d1c146014a297eadf486bacef

iframe

can be used to embed web, video, music

image

test markdown

youtube

vimeo

Share