File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
packages/plugin-changelog/src Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import type {
1313import type { Options , PluginOptions } from "./options" ;
1414
1515export const HEADER = `---
16- hide_table_of_contents: true
1716{{extraHeader}}
1817---
1918
@@ -36,9 +35,9 @@ function processSection(section: string) {
3635 return {
3736 title : title . replace ( / \( .* \) / , "" ) ,
3837 content : `
39- # ${ title . replace ( / \( .* \) / , "" ) }
38+ ## ${ title . replace ( / \( .* \) / , "" ) }
4039
41- ${ content . replace ( / # # # / g , "##" ) }
40+ ${ content }
4241` ,
4342 } ;
4443}
@@ -78,7 +77,7 @@ export default async function pluginChangelog(
7877
7978const pluginOptionsSchema = Joi . object < PluginOptions > ( {
8079 changelogPath : Joi . string ( ) . default ( "src/changelog/changelog.md" ) ,
81- changelogHeader : Joi . string ( ) . default ( HEADER ) ,
80+ changelogHeader : Joi . string ( ) . default ( "" ) ,
8281} ) ;
8382
8483export function validateOptions ( {
You can’t perform that action at this time.
0 commit comments