mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-07-31 09:49:37 +00:00
HTML formatter option: class_prefix
This commit is contained in:
@@ -4,4 +4,5 @@ lexer = Tartrazine.lexer("crystal")
|
||||
theme = Tartrazine.theme(ARGV[1])
|
||||
formatter = Tartrazine::Html.new
|
||||
formatter.standalone = true
|
||||
formatter.class_prefix = "tartrazine-"
|
||||
puts formatter.format(File.read(ARGV[0]), lexer, theme)
|
||||
|
Reference in New Issue
Block a user