From 5c861fd51e0c216df03161d7e7e170a793bf469d Mon Sep 17 00:00:00 2001 From: "Cheng-Han, Wu" Date: Fri, 27 May 2016 13:39:54 +0800 Subject: [PATCH] Update docs and textcomplete rules for image syntax with size specified --- public/docs/features.md | 2 ++ public/js/index.js | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/public/docs/features.md b/public/docs/features.md index a734f3c..1aa3c22 100644 --- a/public/docs/features.md +++ b/public/docs/features.md @@ -460,6 +460,8 @@ With a reference later in the document defining the URL location: [id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat" +![Minion](https://octodex.github.com/images/minion.png =200x200) +Show the image With given size ### Footnotes diff --git a/public/js/index.js b/public/js/index.js index 76edf02..92a06a5 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -123,6 +123,10 @@ var supportReferrals = [ text: '![image alt](url "title")', search: '![]()' }, + { + text: '![image alt](url "title" =WidthxHeight)', + search: '![]()' + }, { text: '[TOC]', search: '[]'