Frontend API
export class TracebackHtmlPipe implements PipeTransform
Transform a raw traceback from the Jupyter kernel into a HTML traceback with colors and line breaks.
Pipes webpage : https://angular.io/guide/pipes
Created by antoine on 17/07/17.
transform(value: string[]): SafeHtml
Transform a raw traceback from the Jupyter kernel into a HTML traceback with colors and line breaks.
- Parameters:
value
— the raw traceback - Returns:
SafeHtml
— the HTML colored traceback