lib/rouge/lexer.rb in rouge-3.11.1 vs lib/rouge/lexer.rb in rouge-3.12.0

- old
+ new

@@ -47,9 +47,12 @@ # * You can pass the special name 'guess' so we guess for you, # and you can pass a second argument of the code to guess by # # Lexer.find_fancy('guess', "#!/bin/bash\necho Hello, world") # + # If the code matches more than one lexer then Guesser::Ambiguous + # is raised. + # # This is used in the Redcarpet plugin as well as Rouge's own # markdown lexer for highlighting internal code blocks. # def find_fancy(str, code=nil, additional_options={})