Skip to content
/ anstml Public
forked from itepastra/anstml

An ansi escape code to HTML converter

License

Notifications You must be signed in to change notification settings

ucubic/anstml

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anstml is a library for converting strings with ANSI codes to valid HTML to show the same thing.

todo:

  • support all the codes that are of the form ^[[{n}m
  • create tests to make sure everything works as expected
  • allow creation of classes + css instead of inlining all the styles
  • optimize the generated HTML in using various methods
    • when some color is nested in a different color, use a nested span
    • when only part of the style changes, use a nested a span

About

An ansi escape code to HTML converter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 92.8%
  • Nix 7.2%