fix: duplication on markdownRenderer
This commit is contained in:
@@ -88,7 +88,6 @@ export function MermaidRenderer({
|
|||||||
section2: getCSSVariable('--success'),
|
section2: getCSSVariable('--success'),
|
||||||
section3: getCSSVariable('--purple'),
|
section3: getCSSVariable('--purple'),
|
||||||
altSection: getCSSVariable('--muted'),
|
altSection: getCSSVariable('--muted'),
|
||||||
gridColor: getCSSVariable('--border'),
|
|
||||||
todayLineColor: getCSSVariable('--destructive'),
|
todayLineColor: getCSSVariable('--destructive'),
|
||||||
// Pie chart specific
|
// Pie chart specific
|
||||||
pie1: getCSSVariable('--primary'),
|
pie1: getCSSVariable('--primary'),
|
||||||
@@ -131,7 +130,6 @@ export function MermaidRenderer({
|
|||||||
messageAlign: 'center',
|
messageAlign: 'center',
|
||||||
mirrorActors: true,
|
mirrorActors: true,
|
||||||
bottomMarginAdj: 1,
|
bottomMarginAdj: 1,
|
||||||
useMaxWidth: true,
|
|
||||||
rightAngles: false,
|
rightAngles: false,
|
||||||
showSequenceNumbers: false,
|
showSequenceNumbers: false,
|
||||||
},
|
},
|
||||||
@@ -140,7 +138,6 @@ export function MermaidRenderer({
|
|||||||
leftPadding: 75,
|
leftPadding: 75,
|
||||||
gridLineStartPadding: 35,
|
gridLineStartPadding: 35,
|
||||||
fontSize: 11,
|
fontSize: 11,
|
||||||
fontFamily: 'inherit',
|
|
||||||
sectionFontSize: 24,
|
sectionFontSize: 24,
|
||||||
numberSectionStyles: 4,
|
numberSectionStyles: 4,
|
||||||
},
|
},
|
||||||
@@ -150,7 +147,7 @@ export function MermaidRenderer({
|
|||||||
journey: {
|
journey: {
|
||||||
useMaxWidth: true,
|
useMaxWidth: true,
|
||||||
},
|
},
|
||||||
gitgraph: {
|
gitGraph: {
|
||||||
useMaxWidth: true,
|
useMaxWidth: true,
|
||||||
},
|
},
|
||||||
state: {
|
state: {
|
||||||
|
|||||||
Reference in New Issue
Block a user