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