Skip to content

Commit

Permalink
Auto-link URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
svivian committed Jun 21, 2016
1 parent 3028e06 commit 6f65c07
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions MyMarkdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

class MyMarkdown extends \cebe\markdown\Markdown
{
use \cebe\markdown\inline\UrlLinkTrait;

/**
* Handle new lines
*/
Expand Down
4 changes: 2 additions & 2 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "Markdown Editor",
"uri": "https://github.com/svivian/q2a-markdown-editor",
"description": "Markdown editor plugin for simple text-based markup",
"version": "2.5",
"date": "2016-06-08",
"version": "2.5.1",
"date": "2016-06-21",
"author": "Scott Vivian",
"author_uri": "http://codelair.com",
"license": "GPLv3",
Expand Down
2 changes: 1 addition & 1 deletion qa-markdown-viewer.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function calc_quality($content, $format)
public function get_html($content, $format, $options)
{
if (isset($options['blockwordspreg'])) {
require_once QA_INCLUDE_DIR.'qa-util-string.php';
require_once QA_INCLUDE_DIR.'util/string.php';
$content = qa_block_words_replace($content, $options['blockwordspreg']);
}

Expand Down
4 changes: 2 additions & 2 deletions qa-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Plugin Name: Markdown Editor
Plugin URI: https://github.com/svivian/q2a-markdown-editor
Plugin Description: Markdown editor plugin for simple text-based markup
Plugin Version: 2.5
Plugin Date: 2015-07-30
Plugin Version: 2.5.1
Plugin Date: 2016-06-21
Plugin Author: Scott Vivian
Plugin Author URI: http://codelair.com/
Plugin Contributors: NoahY
Expand Down

0 comments on commit 6f65c07

Please sign in to comment.