Skip to content

Commit

Permalink
Prep for 0.1.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanNutt committed Jan 13, 2020
1 parent 4dacde9 commit 61c0968
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 11 deletions.
2 changes: 1 addition & 1 deletion css/dist/markdown-block.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/dist/markdown-block.min.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/src/markdown-block.scss
Expand Up @@ -34,7 +34,7 @@ div {
}

* {
background: transparent !important;
// background: transparent !important;
}
}
}
Expand Down
1 change: 0 additions & 1 deletion js/dist/markdown-block.js
Expand Up @@ -89,7 +89,6 @@

/* Watch for changes in block class to see if we need to refresh the codemirror */
var observer = new MutationObserver(function (mutationsList) {
console.info('observer has fired');
var el = jQuery('div#block-' + props.clientId);
if (el.hasClass('is-selected')) {
simplemde.codemirror.refresh();
Expand Down
2 changes: 1 addition & 1 deletion js/dist/markdown-block.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion js/src/block.js
Expand Up @@ -89,7 +89,6 @@

/* Watch for changes in block class to see if we need to refresh the codemirror */
var observer = new MutationObserver(function (mutationsList) {
console.info('observer has fired');
var el = jQuery('div#block-' + props.clientId);
if (el.hasClass('is-selected')) {
simplemde.codemirror.refresh();
Expand Down
4 changes: 2 additions & 2 deletions lang/markdown-gutenberg-block.pot
Expand Up @@ -2,10 +2,10 @@
# This file is distributed under the GPL v2 or later.
msgid ""
msgstr ""
"Project-Id-Version: Markdown Gutenberg Block 0.1.0\n"
"Project-Id-Version: Markdown Gutenberg Block 0.1.1\n"
"Report-Msgid-Bugs-To: "
"https://www.github.com/ryannutt/wordpress-markdown-gutenberg-block\n"
"POT-Creation-Date: 2020-01-13 14:58:33+00:00\n"
"POT-Creation-Date: 2020-01-13 15:34:13+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
2 changes: 1 addition & 1 deletion markdown-block.php
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: Markdown Gutenberg Block
* Plugin URI: https://github.com/ryannutt/wordpress-markdown-gutenberg-block/
* Description: Adds a block to WordPress where you can use the SimpleMDE editor to write posts using Markdown
* Version: 0.1.0
* Version: 0.1.1
* Requires at least: 5.2
* Requires PHP: 7.2
* Author: Ryan Nutt
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "markdown-gutenberg-block",
"version": "0.1.0",
"version": "0.1.1",
"description": "Adds a Gutenberg block so you can use markdown and the SimpleMDE editor",
"main": "Gruntfile.js",
"scripts": {
Expand Down
15 changes: 14 additions & 1 deletion readme.md
@@ -1,4 +1,17 @@
# Markdown Gutenberg Block

> This plugin is still in active development and not ready for use on any site, especially a live site.
I really like Markdown. It's the easiest way I've found to quickly write blog posts. And while WordPress has bumped up its support for Markdown, it's still not as good as some of the other programs out there.

While working on another project I came across [SimpleMDE](https://simplemde.com) which is an outstanding JavaScript Markdown editor. And it seemed like a perfect fit for editing blog posts.

And that's what this plugin is. It wraps SimpleMDE in a Gutenberg block so you can edit your posts in Markdown and have it converted back to HTML when displayed.

## Installation

Download the [latest release from GitHub](https://github.com/RyanNutt/wordpress-markdown-gutenberg-block/releases).

Login to your WordPress site and click on Add New Plugin and then Upload Plugin.

Upload the zip file you downloaded from GitHub and activate the plugin.

Once activated you should have a Markdown block in your WordPress editor.

0 comments on commit 61c0968

Please sign in to comment.