lib/kramdown/converter/syntax_highlighter.rb in motion-kramdown-0.6.0 vs lib/kramdown/converter/syntax_highlighter.rb in motion-kramdown-1.16.2
- old
+ new
@@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-
#
#--
-# Copyright (C) 2009-2015 Thomas Leitner <t_leitner@gmx.at>
+# Copyright (C) 2009-2016 Thomas Leitner <t_leitner@gmx.at>
#
# This file is part of kramdown which is licensed under the MIT.
#++
#
@@ -44,10 +44,13 @@
#
# HTML converter:: If the syntax highlighter is used with a HTML converter, it should return
# :block type text correctly wrapped (i.e. normally inside a pre-tag, but may
# also be a table-tag or just a div-tag) but :span type text *without* a
# code-tag!
+ #
+ # Also, a syntax highlighter should store the default highlighting language for
+ # the invocation in the +opts+ hash under the key :default_lang.
module SyntaxHighlighter
end
end
-end
\ No newline at end of file
+end