Commit dd8b423b authored by Cameron McEfee's avatar Cameron McEfee

New octicon classes

parent d4ef9db6
...@@ -18,7 +18,7 @@ module HTML ...@@ -18,7 +18,7 @@ module HTML
uniq = (headers[name] > 0) ? "-#{headers[name]}" : '' uniq = (headers[name] > 0) ? "-#{headers[name]}" : ''
headers[name] += 1 headers[name] += 1
if header_content = node.children.first if header_content = node.children.first
header_content.add_previous_sibling(%Q{<a name="#{name}#{uniq}" class="anchor" href="##{name}#{uniq}"><span class="mini-icon mini-icon-link"></span></a>}) header_content.add_previous_sibling(%Q{<a name="#{name}#{uniq}" class="anchor" href="##{name}#{uniq}"><span class="octicon octicon-link"></span></a>})
end end
end end
doc doc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment