| @@ -1,26 +1,42 @@ | ||
| 1 | 1 | { |
| 2 | - "$schema": "https://schemas.wp.org/trunk/block.json", | |
| 3 | - "apiVersion": 3, | |
| 4 | - "name": "jetpack/markdown", | |
| 5 | - "title": "Markdown", | |
| 6 | - "description": "Use regular characters and punctuation to style text, links, and lists.", | |
| 7 | - "keywords": [ "formatting", "syntax", "markup" ], | |
| 8 | - "version": "12.5.0", | |
| 9 | - "textdomain": "jetpack", | |
| 10 | - "category": "text", | |
| 11 | - "icon": "<svg viewBox='0 0 208 128' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><rect width='198' height='118' x='5' y='5' ry='10' stroke='currentColor' strokeWidth='10' fill='none' /><path d='M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z' />", | |
| 12 | - "supports": { | |
| 13 | - "align": [ "wide", "full" ], | |
| 14 | - "html": false, | |
| 15 | - "spacing": { | |
| 16 | - "padding": true, | |
| 17 | - "margin": true, | |
| 18 | - "__experimentalDefaultControls": { | |
| 19 | - "padding": true, | |
| 20 | - "margin": true | |
| 21 | - } | |
| 22 | - } | |
| 23 | - }, | |
| 24 | - "attributes": { "source": { "type": "string" } }, | |
| 25 | - "editorScript": "file:../editor.js" | |
| 26 | -} | |
| 2 | + "$schema": "https://schemas.wp.org/trunk/block.json", | |
| 3 | + "apiVersion": 3, | |
| 4 | + "name": "jetpack/markdown", | |
| 5 | + "title": "Markdown", | |
| 6 | + "description": "Add headings, lists, or links to plain text with ease.", | |
| 7 | + "keywords": [ | |
| 8 | + "formatting", | |
| 9 | + "syntax", | |
| 10 | + "markup" | |
| 11 | + ], | |
| 12 | + "version": "12.5.0", | |
| 13 | + "textdomain": "jetpack", | |
| 14 | + "category": "text", | |
| 15 | + "icon": "<svg viewBox='0 0 208 128' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><rect width='198' height='118' x='5' y='5' ry='10' stroke='currentColor' strokeWidth='10' fill='none' /><path d='M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z' />", | |
| 16 | + "supports": { | |
| 17 | + "align": [ | |
| 18 | + "wide", | |
| 19 | + "full" | |
| 20 | + ], | |
| 21 | + "html": false, | |
| 22 | + "spacing": { | |
| 23 | + "padding": true, | |
| 24 | + "margin": true, | |
| 25 | + "__experimentalDefaultControls": { | |
| 26 | + "padding": true, | |
| 27 | + "margin": true | |
| 28 | + } | |
| 29 | + } | |
| 30 | + }, | |
| 31 | + "attributes": { | |
| 32 | + "source": { | |
| 33 | + "type": "string" | |
| 34 | + } | |
| 35 | + }, | |
| 36 | + "example": { | |
| 37 | + "attributes": { | |
| 38 | + "source": "## ## Try Markdown\n\nMarkdown is a text formatting syntax that is converted into HTML. You can _emphasize_ text or **make it strong** with just a few characters." | |
| 39 | + } | |
| 40 | + }, | |
| 41 | + "editorScript": "jetpack-blocks-editor" | |
| 42 | +} | |