From 733069d6ea34b6dac8642062937a4f8fbb572fe4 Mon Sep 17 00:00:00 2001 From: Jannis Baum Date: Thu, 1 Aug 2024 21:35:39 +0200 Subject: [PATCH] feat(#101): use classes for ansi coloring --- src/parser/ipynb.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/parser/ipynb.ts b/src/parser/ipynb.ts index 71ed40e7..3cfb3f6c 100644 --- a/src/parser/ipynb.ts +++ b/src/parser/ipynb.ts @@ -15,6 +15,7 @@ import { Renderer } from './parser.js'; import { AnsiUp } from 'ansi_up'; const ansiup = new AnsiUp(); +ansiup.use_classes = true; const renderAnsi: Renderer = (content: string) => ansiup.ansi_to_html(content); function joinMultilineString(str: MultilineString): string {