@ -4,6 +4,9 @@ import { GitCommit } from '../models/commit';
import{GitDiffLine}from'../models/diff';
import*asmomentfrom'moment';
constescapeMarkdownRegEx=/[`\>\#\*\_\-\+\.]/g;
// const sampleMarkdown = '## message `not code` *not important* _no underline_ \n> don\'t quote me \n- don\'t list me \n+ don\'t list me \n1. don\'t list me \nnot h1 \n=== \nnot h2 \n---\n***\n---\n___';
exportinterfaceICommitFormatOptions{
dateFormat?: string|null;
tokenOptions?:{
@ -163,7 +166,17 @@ export class CommitFormatter {