Obelisk::Quick
Quick and convenient methods for common syntax highlighting tasks
Class methods
Generate CSS for a style (when using HTML formatter with classes)
highlight(source : String, language : String, formatter_name : String = "html", style_name : String = "github", options : HighlightOptions = HighlightOptions.new) : String
Highlight source code with specified language, formatter, and style
highlight(source : String, io : IO, language : String, formatter_name : String = "html", style_name : String = "github", options : HighlightOptions = HighlightOptions.new) : Nil
Highlight to IO