inital commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import AnsiToHtml from "https://cdn.jsdelivr.net/npm/ansi-to-html@0.7.2/+esm";
|
||||
|
||||
const converter = new AnsiToHtml({ newline: true, escapeHtml: true });
|
||||
|
||||
export function ansiToHtml(input = "") {
|
||||
return converter.toHtml(input);
|
||||
}
|
||||
Reference in New Issue
Block a user