We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b22494b commit 2bf81ceCopy full SHA for 2bf81ce
src/commands/toc.ts
@@ -113,7 +113,7 @@ export async function generateToc(
113
position: options.position ?? 'after-title',
114
title: options.title ?? 'Table of Contents',
115
headingLevel: options.headingLevel ?? 2,
116
- marker: options.marker,
+ marker: options.marker ?? '',
117
skipEmpty: options.skipEmpty ?? true,
118
dryRun: options.dryRun ?? false,
119
verbose: options.verbose ?? false,
0 commit comments