tartrazine/src/main.cr
2024-08-06 18:27:58 -03:00

6 lines
154 B
Crystal

require "./**"
lexer = Tartrazine.lexer("crystal")
theme = Tartrazine.theme(ARGV[1])
puts Tartrazine::Html.new.format(File.read(ARGV[0]), lexer, theme)