Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

support gfm style

  • Loading branch information...
commit 29b53c70c2721cbc7ea5b9fcd7e38a347400b4b4 1 parent 98021e7
@hsbt hsbt authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 js/category_autocomplete.js
View
7 js/category_autocomplete.js
@@ -13,12 +13,13 @@ $(function() {
if ( $tDiary.style == "tdiary" ){
support = true;
- regrep = "^\\[.*";
-
+ regrep = "^ *\\[.*";
+ } else if ( $tDiary.style == 'gfm' ) {
+ support = true;
+ regrep = "^# *\\[.*";
} else if ( $tDiary.style == "wiki" ){
support = true;
regrep = "^! *\\[.*";
-
}
function widgetPosition(){
Please sign in to comment.
Something went wrong with that request. Please try again.