Ver código fonte

Docs: Updated Markdown guide snippet.

Mgsy 5 anos atrás
pai
commit
209019c0e5

+ 2 - 4
packages/ckeditor5-markdown-gfm/docs/_snippets/features/markdown.html

@@ -7,12 +7,10 @@
 <p>The <a href="https://ckeditor.com/">CKEditor 5 WYSIWYG</a> editor lets you use this flexible yet simple markup language in the GitHub flavor. The editor-produced Markdown output supports the most important features, like <a href="https://ckeditor.com/">links</a>, <strong>different</strong> kinds of <em>emphasis</em>, <code>inline code formatting</code> or code blocks:</p>
 
 <pre>
-<code class="language-css">
-p {
+<code class="language-css">p {
   text-align: center;
   color: red;
-}
-</code>
+}</code>
 </pre>
 
 <h2>Formatting blocks with Markdown</h2>

+ 2 - 0
packages/ckeditor5-markdown-gfm/docs/_snippets/features/markdown.js

@@ -33,7 +33,9 @@ ClassicEditor
 			'outdent',
 			'indent',
 			'|',
+			'imageUpload',
 			'blockQuote',
+			'|',
 			'undo',
 			'redo'
 		],