plugin test

Codeblock

Syntax

{% codeblock [lang:language] [title] [url] [link text] %} code snippet {% endcodeblock %}

效果

Discover if a number is primeSource Article
1
2
3
4
5
class Fixnum
def prime?
('1' * self) !~ /^1?$|^(11+?)\1+$/
end
end

Youtube 嵌入

##Image Tag

Syntax

{% img [class names] /path/to/image [width] [height] [title text [alt text]] %}

效果


後記

  • install new theme oct2
  • excerpt_link 改為中文
  • include Mathjax
  • change markdown parser

Comment and share

  • page 1 of 1
Author's picture

Necisam

author.bio


author.job


Tainan, Taiwan