diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..cdf8546
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,22 @@
+MIT License
+
+Copyright (c) 2008-2010 Maxim Kim
+ 2013-2017 Daniel Schemala
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/autoload/vimwiki/base.vim b/autoload/vimwiki/base.vim
index 14709a6..ee21672 100644
--- a/autoload/vimwiki/base.vim
+++ b/autoload/vimwiki/base.vim
@@ -1129,7 +1129,7 @@ function! vimwiki#base#follow_link(split, reuse, move_cursor, ...) "{{{
" remove the extension from the filename if exists, because non-vimwiki
" markdown files usually include the extension in links
- let lnk = substitute(lnk, vimwiki#vars#get_wikilocal('ext').'$', '', '')
+ let lnk = substitute(lnk, '\'.vimwiki#vars#get_wikilocal('ext').'$', '', '')
endif
let current_tab_page = tabpagenr()
diff --git a/autoload/vimwiki/diary.vim b/autoload/vimwiki/diary.vim
index 253f11c..4b18c5e 100644
--- a/autoload/vimwiki/diary.vim
+++ b/autoload/vimwiki/diary.vim
@@ -65,7 +65,7 @@ fun! s:read_captions(files) "{{{
let rx_header = vimwiki#vars#get_syntaxlocal('rxHeader')
for fl in a:files
" remove paths and extensions
- let fl_key = fnamemodify(fl, ':t:r')
+ let fl_key = substitute(fnamemodify(fl, ':t'), vimwiki#vars#get_wikilocal('ext').'$', '', '')
if filereadable(fl)
for line in readfile(fl, '', s:vimwiki_max_scan_for_caption)
diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt
index 6d150a4..b685162 100644
--- a/doc/vimwiki.txt
+++ b/doc/vimwiki.txt
@@ -1229,14 +1229,9 @@ LaTeX code).
Note: the highlighting in Vim is automatic. For the rendering in HTML, you
have two alternative options:
-1. using the MathJax server for rendering (needs internet connection).
-Add to your HTML template the following line:
-
-
-
-2. installing MathJax locally (faster, no internet required). Choose a
-folder on your hard drive and save MathJax in it. Then add to your HTML
-template the following line:
+1. installing MathJax locally (Recommended: faster, no internet required).
+Choose a folder on your hard drive and save MathJax in it. Then add to your
+HTML template the following line:
@@ -1251,6 +1246,11 @@ template folder. For instance, a sensible folder structure could be:
In this case, would be "../mathjax" (without quotes).
+2. Loading MathJax from a CDN-server (needs internet connection).
+Add to your HTML template the following line:
+
+
+
------------------------------------------------------------------------------
5.9. Blockquotes *vimwiki-syntax-blockquotes*
@@ -2850,6 +2850,19 @@ Contributors and their Github usernames in roughly chronological order:
- @wangzq
- Jinzhou Zhang (@lotabout)
- Michael Riley (@optik-aper)
+ - Irfan Sharif (@irfansharif)
+ - John Conroy (@jconroy77)
+ - Christian Rondeau (@christianrondeau)
+ - Alex Thorne (@thornecc)
+ - Shafqat Bhuiyan (@priomsrb)
+ - Bradley Cicenas (@bcicen)
+ - Michael Thessel (@MichaelThessel)
+ - Michael F. Schönitzer (@nudin)
+ - @sqlwwx
+ - Guilherme Salazar (@salazar)
+ - Daniel Trnka (@trnila)
+ - Yuchen Pei (@ycpei)
+ - @maqiv
==============================================================================
@@ -3097,10 +3110,11 @@ http://code.google.com/p/vimwiki/issues/list
==============================================================================
16. License *vimwiki-license*
-The MIT Licence
+The MIT License
http://www.opensource.org/licenses/mit-license.php
Copyright (c) 2008-2010 Maxim Kim
+ 2013-2017 Daniel Schemala
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal