{"id":222190,"date":"2025-04-13T05:08:01","date_gmt":"2025-04-13T05:08:01","guid":{"rendered":"https:\/\/ja.wordpress.org\/plugins\/markdown-block\/"},"modified":"2025-04-27T10:11:33","modified_gmt":"2025-04-27T10:11:33","slug":"markdown-block","status":"publish","type":"plugin","link":"https:\/\/hat.wordpress.org\/plugins\/markdown-block\/","author":20901693,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"1.1.0","tested":"6.8.5","requires":"6.4","requires_php":"8.2","requires_plugins":null,"header_name":"MarkDown Block","header_author":"Web Creator ITmaroon","header_description":"This is a block that converts a text file written in markdown notation into HTML and displays it.","assets_banners_color":"6f7376","last_updated":"2025-04-27 10:11:33","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/itmaroon.net","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":509,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"itmaroon","date":"2025-04-13 05:09:14"},"1.1.0":{"tag":"1.1.0","author":"itmaroon","date":"2025-04-27 10:11:33"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3271656,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3271656,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3271656,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3271656,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"itmar\/markdown-block":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"itmar\/markdown-block","version":"0.1.0","title":"Mark Down","category":"widgets","supports":{"html":false},"attributes":{"mdContent":{"type":"string"},"blockArray":{"type":"array","default":[]},"element_style_obj":{"type":"object","default":{}},"backgroundColor":{"type":"string"},"backgroundGradient":{"type":"string"},"default_val":{"type":"object","default":{"margin":{"top":"10px","left":"10px","bottom":"10px","right":"10px"},"padding":{"top":"10px","left":"10px","bottom":"10px","right":"10px"}}},"mobile_val":{"type":"object","default":{"margin":{"top":"10px","left":"10px","bottom":"10px","right":"10px"},"padding":{"top":"10px","left":"10px","bottom":"10px","right":"10px"}}},"radius_value":{"type":"object","default":{"topLeft":"0px","topRight":"0px","bottomRight":"0px","bottomLeft":"0px","value":"0px"}},"border_value":{"type":"object"},"is_toc":{"type":"boolean","default":true},"toc_set_array":{"type":"array","default":["header","sidebar"]},"isEditMode":{"type":"boolean","default":true}},"textdomain":"markdown-block","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css"}},"tagged_versions":["1.0.0","1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3271656,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3271656,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3271656,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3271656,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3271656,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3271656,"resolution":"6","location":"assets","locale":""}},"screenshots":{"1":"On the left is the Markdown document editing area, and on the right is the preview after styling and the block editing area.","2":"HTML element style management and table of contents settings screen","3":"Front-end display including table of contents","4":"Front-end display with top table of contents open","5":"Responsive design","6":"Responsive design with table of contents open"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1220,323,4608,86],"plugin_category":[],"plugin_contributors":[218452],"plugin_business_model":[],"class_list":["post-222190","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-blog","plugin_tags-markdown","plugin_tags-post","plugin_contributors-itmaroon","plugin_committers-itmaroon"],"banners":{"banner":"https:\/\/ps.w.org\/markdown-block\/assets\/banner-772x250.png?rev=3271656","banner_2x":"https:\/\/ps.w.org\/markdown-block\/assets\/banner-1544x500.png?rev=3271656","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/markdown-block\/assets\/icon-128x128.png?rev=3271656","icon_2x":"https:\/\/ps.w.org\/markdown-block\/assets\/icon-256x256.png?rev=3271656","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/markdown-block\/assets\/screenshot-1.png?rev=3271656","caption":"On the left is the Markdown document editing area, and on the right is the preview after styling and the block editing area."},{"src":"https:\/\/ps.w.org\/markdown-block\/assets\/screenshot-2.png?rev=3271656","caption":"HTML element style management and table of contents settings screen"},{"src":"https:\/\/ps.w.org\/markdown-block\/assets\/screenshot-3.png?rev=3271656","caption":"Front-end display including table of contents"},{"src":"https:\/\/ps.w.org\/markdown-block\/assets\/screenshot-4.png?rev=3271656","caption":"Front-end display with top table of contents open"},{"src":"https:\/\/ps.w.org\/markdown-block\/assets\/screenshot-5.png?rev=3271656","caption":"Responsive design"},{"src":"https:\/\/ps.w.org\/markdown-block\/assets\/screenshot-6.png?rev=3271656","caption":"Responsive design with table of contents open"}],"raw_content":"<!--section=description-->\n<p>This block has the function of editing Markdown documents using SimpleMDE, and by parsing Markdown documents using marked, it can assign specific blocks to the converted HTML elements.\nThis function allows users to customize Markdown documents using the styling functions of the corresponding blocks, allowing for a wide range of styling.\nThe following are the blocks that are applied when Markdown documents are parsed into HTML elements.<\/p>\n\n<ol>\n<li>H element: itmar\/design-title<\/li>\n<li>P element: core\/paragraph<\/li>\n<li>PRE element: itmar\/code-highlight<\/li>\n<li>IMG element: core\/image<\/li>\n<li>BLOCKQUOTE element: core\/quote<\/li>\n<li>LI element: core\/list<\/li>\n<li>TABLE element: core\/table<\/li>\n<\/ol>\n\n<p>The H element is also generated as a table of contents, and has the function of displaying nested items according to level.\nThis plugin does not require any external resources (all scripts and styles are included locally)<\/p>\n\n<h3>Related Links<\/h3>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/itmaroon\/markdown-block\">markdown-block:Github<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/itmaroon\/block-class-package\">block-class-package:GitHub<\/a>  <\/li>\n<li><a href=\"https:\/\/packagist.org\/packages\/itmar\/block-class-package\">block-class-package:Packagist<\/a> <\/li>\n<li><a href=\"https:\/\/www.npmjs.com\/package\/itmar-block-packages\">itmar-block-packages:npm<\/a>  <\/li>\n<li><a href=\"https:\/\/github.com\/itmaroon\/itmar-block-packages\">itmar-block-packages:GitHub<\/a><\/li>\n<\/ul>\n\n<h3>Arbitrary section<\/h3>\n\n<ol>\n<li><p>PHP class management is now done using Composer.<br \/>\n<a href=\"https:\/\/github.com\/itmaroon\/block-class-package\">GitHub<\/a><br \/>\n<a href=\"https:\/\/packagist.org\/packages\/itmar\/block-class-package\">Packagist<\/a><\/p><\/li>\n<li><p>I decided to make functions and components common to other plugins into npm packages, and install and use them from npm.<br \/>\n<a href=\"https:\/\/www.npmjs.com\/package\/itmar-block-packages\">npm<\/a><br \/>\n<a href=\"https:\/\/github.com\/itmaroon\/itmar-block-packages\">GitHub<\/a><\/p><\/li>\n<\/ol>\n\n<h3>External services<\/h3>\n\n<ol>\n<li>This plugin uses EasyMDE to implement the editing function of Markdown documents. This is an open source JavaScript library provided under the MIT license.\n<a href=\"https:\/\/github.com\/Ionaru\/easy-markdown-editor\/blob\/master\/LICENSE\">EasyMDE LICENSE<\/a>\nEasyMDE comes with a spell check feature.<br \/>\nWhen using this feature, it will try to load an external file (en_US.aff \/ en_US.dic) from a CDN. To avoid this, this plugin sets spellChecker: false, when instantiating EasyMDE, so that the external file will not be loaded.<\/li>\n<li>This plugin uses marked to parse Markdown documents and convert them to HTML elements. This is an open source JavaScript library provided under the MIT license.\n<a href=\"https:\/\/github.com\/markedjs\/marked\/blob\/master\/LICENSE.md\">marked LICENSE<\/a><\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>From the WP admin panel, click \u201cPlugins\u201d -&gt; \u201cAdd new\u201d.<\/li>\n<li>In the browser input box, type \u201cMarkdown Block\u201d.<\/li>\n<li>Select the \u201cMarkdown Block\u201d plugin and click \u201cInstall\u201d.<\/li>\n<li>Activate the plugin.<\/li>\n<\/ol>\n\n<p>OR\u2026<\/p>\n\n<ol>\n<li>Download the plugin from this page.<\/li>\n<li>Save the .zip file to a location on your computer.<\/li>\n<li>Open the WP admin panel, and click \u201cPlugins\u201d -&gt; \u201cAdd new\u201d.<\/li>\n<li>Click \u201cupload\u201d.. then browse to the .zip file downloaded from this page.<\/li>\n<li>Click \u201cInstall\u201d.. and then \u201cActivate plugin\u201d.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Regarding the method of loading composer components, a mechanism has been introduced that does not conflict with other plugins. Accordingly, the composer components have been updated.<\/li>\n<li>Operation check with WordPress 6.8<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Release<\/li>\n<\/ul>","raw_excerpt":"This block converts Markdown documents into blocks for styling web pages.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/222190","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=222190"}],"author":[{"embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/itmaroon"}],"wp:attachment":[{"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=222190"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=222190"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=222190"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=222190"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=222190"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=222190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}