Browse Source

Changed the defaults of some of the markdown markup produced.

fredck 5 years ago
parent
commit
a05667fe16

+ 3 - 1
packages/ckeditor5-markdown-gfm/src/html2markdown/html2markdown.js

@@ -11,7 +11,9 @@ import { gfm } from 'turndown-plugin-gfm';
 // import converters from './lib/to-markdown/converters';
 
 const turndownService = new TurndownService( {
-	codeBlockStyle: 'fenced'
+	codeBlockStyle: 'fenced',
+	hr: '---',
+	headingStyle: 'atx'
 } );
 turndownService.use( [
 	gfm,