blob: ab824e578703eaec9a946feade8a3d1416f31169 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
module Jekyll
class ProofTagBlock < Liquid::Block
def render(context)
text = super
"<span style=\"text-transform: uppercase; font-weight: bold; font-size: .75em;\">Proof</span> #{text} <span style=\"float:right;\">$\\square\\enspace$</span>"
end
end
end
Liquid::Template.register_tag('proof', Jekyll::ProofTagBlock)
|