{"id":159984,"date":"2022-07-28T18:52:36","date_gmt":"2022-07-28T18:52:36","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/markdeep-block\/"},"modified":"2022-12-28T21:34:10","modified_gmt":"2022-12-28T21:34:10","slug":"markdeep-block","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/markdeep-block\/","author":17962097,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.0.2","stable_tag":"0.0.2","tested":"6.0.11","requires":"5.9","requires_php":"7.0","requires_plugins":"","header_name":"Markdeep Block","header_author":"neffff","header_description":"Markdeep Block is a WordPress plugin for adding Gutenberg blocks supporting <a href=\"http:\/\/casual-effects.com\/markdeep\">Markdeep<\/a> syntax.","assets_banners_color":"","last_updated":"2022-12-28 21:34:10","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/n3f\/markdeep-block","header_author_uri":"https:\/\/n3f.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1481,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.0.1":{"tag":"0.0.1","author":"neffff","date":"2022-07-28 18:52:08"},"0.0.2":{"tag":"0.0.2","author":"neffff","date":"2022-12-28 21:34:10"}},"upgrade_notice":{"0.0.2":"<p>Update markdeep to 1.15<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":{"markdeep-block\/markdeep-block":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"markdeep-block\/markdeep-block","version":"0.0.1","title":"Markdeep Block","category":"widgets","description":"Markdeep Block is a WordPress plugin for adding Gutenberg blocks supporting Markdeep syntax.","supports":{"html":false},"textdomain":"markdeep-block","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css"}},"tagged_versions":["0.0.1","0.0.2"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Open the block by typing \"\/markdeep\" (or use the sidebar and search)","2":"When editing the block, there are 2 views.  Use the upper area for writing, and the lower for displaying the diagram.","3":"When the block is not selected, it will be displayed as it should be seen on the site.","4":"As seen on my test site."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[26203,6305,212480,4608,39756],"plugin_category":[],"plugin_contributors":[200299],"plugin_business_model":[],"class_list":["post-159984","plugin","type-plugin","status-publish","hentry","plugin_tags-diagrams","plugin_tags-graphics","plugin_tags-markdeep","plugin_tags-markdown","plugin_tags-mathjax","plugin_contributors-neffff","plugin_committers-neffff"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/markdeep-block.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<blockquote>\n  <p>\"Markdeep is ideal for design documents, specifications, README files, code documentation, lab reports, blogs, and technical web pages. Because the source is plain text, Markdeep works well with software development toolchains.\"\n   -- http:\/\/casual-effects.com\/markdeep\/<\/p>\n  \n  <p>\"Markdeep is a text formatting syntax that extends Markdown, and a JavaScript program for making it work in browsers. The two most powerful features are its ability to run in any web browser on the client side and the inclusion of diagrams.\"\n   -- https:\/\/casual-effects.com\/markdeep\/features.md.html<\/p>\n<\/blockquote>\n\n<p>This plugin adds a gutenberg block supporting the <a href=\"http:\/\/casual-effects.com\/markdeep\/\">markdeep<\/a> language. The editor shows both a plaintext\narea for composing the text, and a preview area to display the rendered block.<\/p>\n\n<h3>MathJax &amp; CDN<\/h3>\n\n<p>In order to support <a href=\"https:\/\/www.mathjax.org\/\">MathJax<\/a> features, the MathJax library is loaded from an external <a href=\"https:\/\/cdnjs.cloudflare.com\/\">CDN (cdnjs\/cloudflare)<\/a>.<\/p>\n\n<blockquote>\n  <p>MathJax.org does not collect, maintain, distribute, purchase, or sell personal data of any kind, and uses no cookies or other tracking\n  or advertising techniques.<\/p>\n  \n  <p>Likewise, the MathJax software does not track you, and uses local storage only to maintain your preferences as set by the MathJax contextual menu.<\/p>\n  \n  <p>-- https:\/\/www.mathjax.org\/#privacy-statement<\/p>\n<\/blockquote>\n\n<p>If you do not change the CDN you will be subject to cloudflare's <a href=\"https:\/\/www.cloudflare.com\/website-terms\/\">terms<\/a> &amp; <a href=\"https:\/\/www.cloudflare.com\/privacypolicy\/\">privacy policy<\/a>.<\/p>\n\n<p>This CDN can be changed with a one-line script.  (Alternately, use the WordPress plugin file editor to uncomment a similar line in\n    markdeep-block.php). <em>In the future this should be an exposed configuration option.<\/em><\/p>\n\n<p>To override the CDN use:<\/p>\n\n<pre><code>`php\n<\/code><\/pre>\n\n<p>\/\/ Markdeep currently uses version 2.7.6\nadd_filter( 'markdeepblock_mathjax_url', fn($u) =&gt; 'https:\/\/cdn.jsdelivr.net\/npm\/mathjax@2.7.6\/unpacked\/MathJax.js?config=TeX-AMS-MML_HTMLorMML' );\n    `<\/p>\n\n<h3>Planned features<\/h3>\n\n<ul>\n<li>UI to configure CDN for JS resources (Markdeep, MathJax).<\/li>\n<li>Configurable style per block.<\/li>\n<li>Drop-down style selection of styles (globally &amp; per-block).<\/li>\n<li>Get MathJax commands working in editor. <em>(MathJax currently works in posts).<\/em><\/li>\n<li>Markdeep specific LaTeX\/MathJax macros. (e.g. \u03b8\u2080, \u03b8\u2081, etc.)<\/li>\n<li>Configurable MathJax macros.<\/li>\n<li>Optional Table of Contents (currently suppressed)<\/li>\n<\/ul>\n\n<h3>Logo<\/h3>\n\n<p>The logo is derived from <a href=\"https:\/\/dustincurtis.com\">Dustin Curtis's<\/a> https:\/\/github.com\/dcurtis\/markdown-mark.<\/p>\n\n<!--section=installation-->\n<p>This plugin can be installed through the normal processes: the WordPress plugin directory, (hopefully) the WordPress block\ndirectory, and a manual installation.<\/p>\n\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/markdeep-block<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<\/ol>\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, in fact it's all done with text! See the <a href=\"https:\/\/casual-effects.com\/markdeep\/features.md.html#diagramexamples\">markdeep site<\/a> for specific\nexamples.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.0.2<\/h4>\n\n<ul>\n<li>Update to markdeep 1.15<\/li>\n<\/ul>","raw_excerpt":"Markdeep Block is a WordPress plugin for adding Gutenberg blocks supporting Markdeep syntax.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/159984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=159984"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/neffff"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=159984"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=159984"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=159984"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=159984"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=159984"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=159984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}