Kaydet (Commit) a86fdfaa authored tarafından Baptiste Mispelon's avatar Baptiste Mispelon

Added copy-to-clipboard support for all code snippets

üst 8be84e2a
......@@ -110,7 +110,7 @@ def visit_snippet(self, node):
linenos=linenos,
**highlight_args)
starttag = self.starttag(node, 'div', suffix='',
CLASS='highlight-%s' % lang)
CLASS='highlight-%s snippet' % lang)
self.body.append(starttag)
self.body.append('<div class="snippet-filename">%s</div>\n''' % (fname,))
self.body.append(highlighted)
......
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