{"id":160621,"date":"2022-07-28T11:32:38","date_gmt":"2022-07-28T11:32:38","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/terminal-block\/"},"modified":"2024-10-22T15:46:31","modified_gmt":"2024-10-22T15:46:31","slug":"terminal-block","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/terminal-block\/","author":17143455,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1.3.3","stable_tag":"0.1.3.3","tested":"6.6.5","requires":"5.9","requires_php":"7.0","requires_plugins":null,"header_name":"Terminal Block","header_author":"Suzen Fylke","header_description":"Display rich text in a terminal window.","assets_banners_color":"2b3038","last_updated":"2024-10-22 15:46:31","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/codesue.com","rating":0,"author_block_rating":0,"active_installs":100,"downloads":3273,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.1.0":{"tag":"0.1.0","author":"codesue","date":"2022-07-28 11:37:13"},"0.1.1":{"tag":"0.1.1","author":"codesue","date":"2022-07-31 13:26:28"},"0.1.2":{"tag":"0.1.2","author":"codesue","date":"2022-07-31 13:26:28"},"0.1.3":{"tag":"0.1.3","author":"codesue","date":"2022-12-18 01:34:01"},"0.1.3.1":{"tag":"0.1.3.1","author":"codesue","date":"2022-12-26 13:51:35"},"0.1.3.2":{"tag":"0.1.3.2","author":"codesue","date":"2022-12-26 14:30:10"},"0.1.3.3":{"tag":"0.1.3.3","author":"codesue","date":"2024-10-22 15:46:31"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":2835571,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2835571,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"codesue\/terminal-block":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"codesue\/terminal-block","version":"0.1.2","title":"Terminal Block","category":"widgets","icon":"editor-code","description":"Display rich text in a terminal window.","keywords":["code","terminal","documentation"],"supports":{"spacing":{"margin":true,"padding":true},"typography":{"fontSize":true,"lineHeight":true}},"attributes":{"content":{"type":"string","source":"html","selector":"div"},"title":{"type":"string","default":"bash"},"backgroundColor":{"type":"string","default":"#252a33"},"textColor":{"type":"string","default":"#eee"},"accentColor":{"type":"string","default":"#a2a2a2"}},"textdomain":"terminal-block","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css"}},"tagged_versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.1.3.1","0.1.3.2","0.1.3.3"],"block_files":["\/tags\/0.1.3.3\/src\/index.js","\/tags\/0.1.3.3\/src\/index.css","\/tags\/0.1.3.3\/src\/style-index.css","\/tags\/0.1.3.3\/build\/index.js","\/tags\/0.1.3.3\/build\/index.css","\/tags\/0.1.3.3\/build\/style-index.css"],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2835571,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2835571,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2839371,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2839371,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"By default, each command line is prefixed with \"$\".","2":"Terminal Block also supports custom prompts, such as \"&gt;&gt;&gt;\".","3":"You can change the terminal's title and colors in the block setting sidebar.","4":"You can change the prompt used for a command in the block settings sidebar."},"jetpack_post_was_ever_published":false},"plugin_section":[172757],"plugin_tags":[1220,4121,1214,148076,66909],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-160621","plugin","type-plugin","status-publish","hentry","plugin_section-block","plugin_tags-block","plugin_tags-blocks","plugin_tags-code","plugin_tags-gutenberg","plugin_tags-terminal","plugin_committers-codesue"],"banners":{"banner":"https:\/\/ps.w.org\/terminal-block\/assets\/banner-772x250.jpg?rev=2835571","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/terminal-block\/assets\/icon-256x256.png?rev=2835571","icon_2x":"https:\/\/ps.w.org\/terminal-block\/assets\/icon-256x256.png?rev=2835571","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/terminal-block\/assets\/screenshot-1.png?rev=2835571","caption":"By default, each command line is prefixed with \"$\"."},{"src":"https:\/\/ps.w.org\/terminal-block\/assets\/screenshot-2.png?rev=2835571","caption":"Terminal Block also supports custom prompts, such as \"&gt;&gt;&gt;\"."},{"src":"https:\/\/ps.w.org\/terminal-block\/assets\/screenshot-3.png?rev=2839371","caption":"You can change the terminal's title and colors in the block setting sidebar."},{"src":"https:\/\/ps.w.org\/terminal-block\/assets\/screenshot-4.png?rev=2839371","caption":"You can change the prompt used for a command in the block settings sidebar."}],"raw_content":"<!--section=description-->\n<p>Add a rich text terminal window to WordPress posts with Terminal Block.<\/p>\n\n<p>Terminal Block supports the following display and animation styles:\n* Command: displays a prompt with user input and a cursor, uses typing animations\n* Output: displays output text, does not use typing animations\n* Progress: displays an animated progress bar<\/p>\n\n<p>This block's style and animation are adapted from <a href=\"https:\/\/github.com\/ines\/termynal\">termynal.js<\/a> version 0.0.1 by <a href=\"ines.io\">Ines Montani<\/a>, licensed under MIT license.<\/p>\n\n<p>The plugin icon is <a href=\"https:\/\/www.flaticon.com\/free-icons\/terminal\">terminal icons<\/a> created by Bharat Icons - Flaticon.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/terminal-block<\/code> directory, or install the plugin directly through the WordPress plugins page.<\/li>\n<li>Activate the plugin through the 'Plugins' page in WordPress.<\/li>\n<li>Search for the block within the Gutenberg block editor.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20use%20custom%20prompts%3F'><h3>How do I use custom prompts?<\/h3><\/dt>\n<dd><ol>\n<li>Select the commmand block you would like to have a custom prompt.<\/li>\n<li>Select \"Block\" in the settings sidebar.<\/li>\n<li>Change the prompt from \"$\" to your custom prompt in the \"Prompt Settings\" section.<\/li>\n<\/ol><\/dd>\n<dt id='does%20this%20block%20use%20similar%20typing%20animations%20to%20termynal.js%3F'><h3>Does this block use similar typing animations to termynal.js?<\/h3><\/dt>\n<dd><p>Yes, typing animations are supported as of version 0.1.1.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.3<\/h4>\n\n<ul>\n<li>Test up to WordPress 6.1<\/li>\n<li>Set up linting and CI workflows<\/li>\n<\/ul>\n\n<h4>0.1.2<\/h4>\n\n<ul>\n<li>Fix theme style bleeding into editor view<\/li>\n<li>Add support for user defined accent color for prompt and title<\/li>\n<\/ul>\n\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>Use inner blocks for terminal inputs, outputs, and progress bars<\/li>\n<li>Add animation<\/li>\n<li>Add Fira Mono font<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Display rich text in a terminal window.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/160621","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=160621"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/codesue"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=160621"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=160621"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=160621"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=160621"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=160621"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=160621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}