Added test binary, code to read base16 themes

This commit is contained in:
2024-08-06 18:03:05 -03:00
parent a2394a7313
commit 94bc221545
4 changed files with 44 additions and 5 deletions

5
src/main.cr Normal file
View File

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