diff --git a/Gruntfile.js b/Gruntfile.js index 268cbda..a4ccc0b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -20,6 +20,9 @@ module.exports = function( grunt ) { wp_readme_to_markdown: { your_target: { + options: { + screenshot_url: 'https://s.w.org/plugins/{plugin}/{screenshot}.png' + }, files: { 'README.md': 'readme.txt' } diff --git a/README.md b/README.md index 9a9ed5b..891ce4a 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ in a template file called `inline-image.php`: if ( is_array( $exif_data ) ) { echo ''; } @@ -86,7 +86,7 @@ in a template file called `inline-image.php`: ### Data Migration ### The plugin comes with two [WP-CLI](http://wp-cli.org) commands to migrate images in your existing content into the `[img]` shortcode format used by -**this plugin. _Note:** if it isn't clear, this is an early release -- use at your own risk, and make sure you've backed up your posts before migrating!_ +this plugin. _Note: if it isn't clear, this is an early release -- use at your own risk, and make sure you've backed up your posts before migrating!_ `wp image-shortcake migrate [--dry-run]` @@ -102,10 +102,10 @@ This command finds all `[img]` shortcodes in the content of any of the posts spe ## Screenshots ## ### 1. This is the shortcode UI form as accessed from **Insert Media > Insert Post Element**. (Note that you can also insert images as usual, by inserting them in the Media Library - they will be transparently converted into shortcodes behind the scenes for you.) ### -![This is the shortcode UI form as accessed from **Insert Media > Insert Post Element**. (Note that you can also insert images as usual, by inserting them in the Media Library - they will be transparently converted into shortcodes behind the scenes for you.)](http://s.wordpress.org/extend/plugins/image-shortcake/screenshot-1.png) +![This is the shortcode UI form as accessed from **Insert Media > Insert Post Element**. (Note that you can also insert images as usual, by inserting them in the Media Library - they will be transparently converted into shortcodes behind the scenes for you.)](https://s.w.org/plugins/image-shortcake/screenshot-1.png) ### 2. Once inserted into a post, the image preview renders in the editor just as it normally would. The Shortcake plugin's edit/delete buttons are available to modify the shortcode through the provided UI. ### -![Once inserted into a post, the image preview renders in the editor just as it normally would. The Shortcake plugin's edit/delete buttons are available to modify the shortcode through the provided UI.](http://s.wordpress.org/extend/plugins/image-shortcake/screenshot-2.png) +![Once inserted into a post, the image preview renders in the editor just as it normally would. The Shortcake plugin's edit/delete buttons are available to modify the shortcode through the provided UI.](https://s.w.org/plugins/image-shortcake/screenshot-2.png) ## Changelog ## diff --git a/package.json b/package.json index 4550099..7dadc49 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,6 @@ "grunt-contrib-watch": "^0.6.1", "grunt-phpcs": "^0.4.0", "grunt-wp-i18n": "^0.5.0", - "grunt-wp-readme-to-markdown": "~0.9.0" + "grunt-wp-readme-to-markdown": "~1.0.0" } }