mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-07-31 09:49:37 +00:00
Added test binary, code to read base16 themes
This commit is contained in:
5
src/main.cr
Normal file
5
src/main.cr
Normal 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)
|
Reference in New Issue
Block a user