@ -4,6 +4,9 @@ import { GitCommit } from '../models/commit';
import{GitDiffLine}from'../models/diff';
import{GitDiffLine}from'../models/diff';
import*asmomentfrom'moment';
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{
exportinterfaceICommitFormatOptions{
dateFormat?: string|null;
dateFormat?: string|null;
tokenOptions?:{
tokenOptions?:{
@ -163,7 +166,17 @@ export class CommitFormatter {