block.json
42 lines
| 1 | { |
| 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 | } |