{"id":142208,"date":"2021-06-10T22:52:02","date_gmt":"2021-06-10T22:52:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/merpress\/"},"modified":"2025-08-04T19:05:53","modified_gmt":"2025-08-04T19:05:53","slug":"merpress","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/merpress\/","author":17962097,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.11","stable_tag":"1.1.11","tested":"6.7.5","requires":"4.6","requires_php":"7.2","requires_plugins":null,"header_name":"MerPress","header_author":"","header_description":"Merpress lets you create diagrams and visualizations using <a href=\"https:\/\/mermaid-js.github.io\/mermaid\/\">MermaidJS<\/a>.","assets_banners_color":"fbfbff","last_updated":"2025-08-04 19:05:53","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/n3f\/merpress","header_author_uri":"","rating":5,"author_block_rating":5,"active_installs":900,"downloads":8517,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":1,"sections":["description","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"neffff","date":"2021-06-10 22:52:31"},"1.0.1":{"tag":"1.0.1","author":"neffff","date":"2022-04-17 21:52:35"},"1.0.2":{"tag":"1.0.2","author":"neffff","date":"2022-05-09 00:57:47"},"1.0.3":{"tag":"1.0.3","author":"neffff","date":"2022-05-13 21:03:19"},"1.0.4":{"tag":"1.0.4","author":"neffff","date":"2022-06-29 03:36:39"},"1.0.5":{"tag":"1.0.5","author":"neffff","date":"2022-08-04 20:37:19"},"1.0.6":{"tag":"1.0.6","author":"neffff","date":"2022-08-28 22:23:23"},"1.0.7":{"tag":"1.0.7","author":"neffff","date":"2022-09-30 03:14:30"},"1.0.8":{"tag":"1.0.8","author":"neffff","date":"2022-11-13 04:11:32"},"1.0.9":{"tag":"1.0.9","author":"neffff","date":"2022-12-27 02:08:50"},"1.1.0":{"tag":"1.1.0","author":"neffff","date":"2024-05-17 00:41:14"},"1.1.1":{"tag":"1.1.1","author":"neffff","date":"2024-08-24 23:56:56"},"1.1.10":{"tag":"1.1.10","author":"neffff","date":"2025-07-12 16:12:26"},"1.1.11":{"tag":"1.1.11","author":"neffff","date":"2025-08-04 19:05:53"},"1.1.2":{"tag":"1.1.2","author":"neffff","date":"2024-09-04 19:58:41"},"1.1.3":{"tag":"1.1.3","author":"neffff","date":"2024-09-12 19:05:05"},"1.1.4":{"tag":"1.1.4","author":"neffff","date":"2024-09-23 18:53:24"},"1.1.5":{"tag":"1.1.5","author":"neffff","date":"2024-10-11 23:47:25"},"1.1.6":{"tag":"1.1.6","author":"neffff","date":"2024-11-15 23:26:18"},"1.1.7":{"tag":"1.1.7","author":"neffff","date":"2024-12-03 23:50:16"},"1.1.8":{"tag":"1.1.8","author":"neffff","date":"2025-03-17 03:27:11"},"1.1.9":{"tag":"1.1.9","author":"neffff","date":"2025-05-05 22:11:20"}},"upgrade_notice":{"1.1.11":"<p>Latest mermaid (11.9.0) and fixes issue with mermaid to PNG (tainted canvas).<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":3},"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":2545910,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2716732,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3339214,"resolution":false,"location":"assets","locale":"","contents":"{\"landingPage\":\"\\\/\",\"phpExtensionBundles\":[\"kitchen-sink\"],\"preferredVersions\":{\"php\":\"7.4\",\"wp\":\"5.9\"},\"login\":true,\"plugins\":[\"merpress\"],\"steps\":[{\"step\":\"writeFile\",\"path\":\"\\\/tmp\\\/mermaid-post.txt\",\"data\":\"<!-- wp:merpress\\\/mermaidjs -->\\n<div class=\\\"wp-block-merpress-mermaidjs diagram-source-mermaid\\\"><pre class=\\\"mermaid\\\">\\ngantt\\ndateFormat  YYYY-MM-DD\\naxisFormat  %d\\\/%m\\ntitle Adding GANTT diagram to mermaid\\nexcludes weekdays 2014-01-10\\ntodayMarker off\\n\\nsection team's critical event\\ndeadline A           :milestone, crit, deadlineA, 2024-02-01, 0\\ndeadline B           :milestone, crit, deadlineB, 2024-02-15, 0\\nboss on leave        :bossaway, 2024-01-28, 2024-02-11\\n\\nsection new intern\\nonboarding           :onboarding, 2024-01-02, 1w\\nliterature review    :litreview, 2024-01-02, 10d\\nproject A            :projectA, after onboarding litreview, until deadlineA bossaway\\nchilling             :chilling, after projectA, until deadlineA\\nproject B            :projectB, after deadlineA, until deadlineB<\\\/pre><\\\/div>\\n<!-- \\\/wp:merpress\\\/mermaidjs -->\\n\"},{\"step\":\"wp-cli\",\"command\":\"wp post create --post_type=\\\"page\\\" --post_title=\\\"MerPress\\\" --post_status=\\\"publish\\\" \\\/tmp\\\/mermaid-post.txt\"},{\"step\":\"setSiteOptions\",\"options\":{\"page_on_front\":4,\"show_on_front\":\"page\"}},{\"step\":\"installPlugin\",\"pluginZipFile\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"merpress\"},\"options\":{\"activate\":true}}]}"}},"all_blocks":{"merpress\/mermaidjs":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"merpress\/mermaidjs","title":"MerPress","category":"formatting","icon":"chart-pie","description":"Create diagrams and flow charts using text via Mermaid","keywords":["mermaid","chart","diagram","flow","graph"],"version":"1.1.11","textdomain":"my-plugin","attributes":{"content":{"type":"string","source":"text","selector":"pre.mermaid"},"diagramSource":{"enum":["mermaid","image"],"default":"mermaid"},"imgs":{"type":"array","source":"query","selector":"img","default":[],"query":{"src":{"type":"string","source":"attribute","attribute":"src"},"width":{"type":"number","source":"attribute","attribute":"width"},"height":{"type":"number","source":"attribute","attribute":"height"}}}},"supports":{"html":false,"align":["left","center","right","wide","full"]},"example":{"attributes":{"content":"graph TD\nA-->B\n","img":{}}},"editorScript":["file:.\/index.js"],"editorStyle":["wp-edit-blocks","file:.\/index.css"],"script":["mermaid","file:.\/mermaid.js"],"style":["file:.\/style-index.css"],"viewScript":["file:.\/mermaid-init.js"]}},"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.1.1","1.1.10","1.1.11","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.1.7","1.1.8","1.1.9"],"block_files":["\/tags\/1.1.11\/build\/index.js","\/tags\/1.1.11\/build\/mermaid.js","\/tags\/1.1.11\/build\/index.css","\/tags\/1.1.11\/build\/style-index.css","\/tags\/1.1.11\/src\/index.js","\/tags\/1.1.11\/src\/mermaid.js","\/tags\/1.1.11\/src\/index.css","\/tags\/1.1.11\/src\/style-index.css"],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2716727,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2716727,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2716727,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2716727,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2716727,"resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"Open the block by typing \"\/MermaidJS\" (or use the sidebar and search)","2":"Until there is a valid Mermaid diagram, there will be a syntax error in the graph.","3":"When editing the block, there are 2 views.  Use the upper area for writing, and the lower for displaying the diagram.","4":"When the block is not selected, it will be displayed as it should be seen on the site.","5":"As seen on my test site."},"jetpack_post_was_ever_published":false},"plugin_section":[172757],"plugin_tags":[1220,26203,15402,166215,166],"plugin_category":[],"plugin_contributors":[200299],"plugin_business_model":[],"class_list":["post-142208","plugin","type-plugin","status-publish","hentry","plugin_section-block","plugin_tags-block","plugin_tags-diagrams","plugin_tags-flowchart","plugin_tags-mermaid","plugin_tags-posts","plugin_contributors-neffff","plugin_committers-neffff"],"banners":{"banner":"https:\/\/ps.w.org\/merpress\/assets\/banner-772x250.jpg?rev=2716732","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/merpress\/assets\/icon.svg?rev=2545910","icon":"https:\/\/ps.w.org\/merpress\/assets\/icon.svg?rev=2545910","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/merpress\/assets\/screenshot-1.png?rev=2716727","caption":"Open the block by typing \"\/MermaidJS\" (or use the sidebar and search)"},{"src":"https:\/\/ps.w.org\/merpress\/assets\/screenshot-2.png?rev=2716727","caption":"Until there is a valid Mermaid diagram, there will be a syntax error in the graph."},{"src":"https:\/\/ps.w.org\/merpress\/assets\/screenshot-3.png?rev=2716727","caption":"When editing the block, there are 2 views.  Use the upper area for writing, and the lower for displaying the diagram."},{"src":"https:\/\/ps.w.org\/merpress\/assets\/screenshot-4.png?rev=2716727","caption":"When the block is not selected, it will be displayed as it should be seen on the site."},{"src":"https:\/\/ps.w.org\/merpress\/assets\/screenshot-5.png?rev=2716727","caption":"As seen on my test site."}],"raw_content":"<!--section=description-->\n<p>Merpress lets you create diagrams and visualizations using <a href=\"https:\/\/mermaid.js.org\/intro\/\">MermaidJS<\/a>.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20you%20make%20diagrams%20with%20this%3F'><h3>Can you make diagrams with this?<\/h3><\/dt>\n<dd><p>Yes.  Checkout <a href=\"https:\/\/mermaid.js.org\/intro\/\">MermaidJS<\/a> for syntax reference and example diagrams.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.11<\/h4>\n\n<ul>\n<li>Update mermaid to 11.9.0.<\/li>\n<li>Fix issue with mermaid to PNG (tainted canvas)<\/li>\n<\/ul>","raw_excerpt":"Merpress lets you create diagrams and visualizations using MermaidJS.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/142208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=142208"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/neffff"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=142208"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=142208"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=142208"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=142208"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=142208"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=142208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}