blob: 0c2b63bb0e7b73f02b1efc71419ebd1b377766e7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
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)
|