Skip to content

Commit

Permalink
feat(#101): use classes for ansi coloring
Browse files Browse the repository at this point in the history
  • Loading branch information
jannis-baum committed Aug 1, 2024
1 parent 119b4c4 commit 733069d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parser/ipynb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 733069d

Please sign in to comment.