diff --git a/core.php b/core.php index 5a86725..1c64af4 100644 --- a/core.php +++ b/core.php @@ -357,6 +357,8 @@ class Slimdown { '/(\*)(.*?)\1/' => '\2', // bold // todo test these + '/!\[(.*)\]\(([^\s]+)\s(\d+.+)\s(left|right)\)/' => '\1', // images with size + '/!\[(.*)\]\(([^\s]+)\s(\d+.+)\)/' => '\1', // images with size '/!\[(.*)\]\((.*)\)/' => '\1', // basic images // todo end diff --git a/index.php b/index.php index c82a22e..322320e 100644 --- a/index.php +++ b/index.php @@ -511,6 +511,8 @@ class Slimdown { '/(\*)(.*?)\1/' => '\2', // bold // todo test these + '/!\[(.*)\]\(([^\s]+)\s(\d+.+)\s(left|right)\)/' => '\1', // images with size + '/!\[(.*)\]\(([^\s]+)\s(\d+.+)\)/' => '\1', // images with size '/!\[(.*)\]\((.*)\)/' => '\1', // basic images // todo end