Commit Graph

278 Commits

Author SHA1 Message Date
Tinmarino
1b16720b7b Refactor: Syntax highlighting typeface: match -> region: (Issues #847, #640)
- Less code, Easyer to maintain, to add a markup language
- Faster to load, and to highlight
- Support multiline tags: #847
- Support nested tags
- Support intraword tags: this<b>bold</b>type #640
2020-08-02 03:57:22 -04:00
Chip Senkbeil
6dff2c60a5 Add multiline comment support via %%+ and +%% 2020-08-01 18:18:11 -04:00
Chip Senkbeil
321e518fdb Replace VimwikiListChangeLevel references in doc with VimwikiListChangeLvl 2020-07-31 07:54:16 -04:00
Aditya Harit
7f8c4b5669
Fix: wrong html link conversion in windows (PR #945) 2020-07-30 19:31:55 -04:00
Tinmarino
97e02897f4 Refactor: Vars: Make vimwiki_list_ignore_newline wiki local (Issue #894)
Also: vimwiki_text_ignore_newline
2020-07-30 18:48:15 -04:00
BirgerNi
0a5a33af19
Feature: Add option g:vimwiki_commentstring to disable vimwiki commentstring (PR #946 from @BirgerNi ) 2020-07-30 18:04:43 -04:00
Gaurang Kher
f107557463
#940: Render header inside thead element if table has header (#941) 2020-07-29 15:36:33 -04:00
Ryan Winograd
7a4ad2ed95 Fix :VimwikiNextTask
Use the correct function for accessing 'rxListItemWithoutCB'.
`ac4d0a1d46` refactored access to vars and it appears this is one place
where `get_syntaxlocal` should have been renamed to `get_wikilocal` but
was accidentally skipped.
2020-07-29 15:26:33 -04:00
Tinmarino
c9ba53e204 Refractor: Path Add utility unixify #478
Basically unixify all before workingm then transofom in function os os

Util: Add function sort_len that a list of string according to the lenght of its content
Fix: VimwikiRenameLink doesn't update links in diary #90
Test: VimwikiRenameLink with nested directories
Prettify comments in autoload/path + remove antipattern
Define osxify function helper to solve windows Vs Unix : see #478
Path: remove useless temporary fix convertion before calling relpath (redundant) : see #478
Test: Fix typo
Path corrected (Thanks to test)
2020-07-25 03:51:02 -04:00
Reiner Herrmann
e3501dcdd0 Generate RSS feed for diary entries 2020-07-22 10:06:30 -04:00
Rafael Castillo
be86b54914 Fix typo 2020-07-22 00:41:36 -04:00
Rafael Castillo
12327c6f90 Adds email style quotes to signal blockquotes 2020-07-22 00:41:36 -04:00
Rajdeep
e3e841f335 Feature: Add handling of absolute path to vimwiki #811 from @justrajdeep
- update vimwiki link handling so that if using env variables it is resolved
- add [[//absolute_path]] to handle absolute path
- updated doc to reflect the changes
2020-07-22 00:25:58 -04:00
Jérémy Caldas
a3be479d5a
Add a diary frequency option (#884)
* Add diary_frequency parameter to wikis

* Create diary entries according to the frequency

* Update date validation

* Use timestamps, extract abstract yesterday and today as day-long periods

* Revert old changes

* Remove debug log

* Start the week any day

* Add monthly and yearly options

* Cleanup
2020-07-21 13:21:43 -04:00
Clinton Ryan
975a29ebf0 Update spelling mistake 2020-07-21 00:14:16 -04:00
Edward Bassett
da9ef92948
Doc: Fix for duplicate helptags: bullet_types 2020-06-16 23:21:41 -04:00
Tinmarino
43951e5851 Clean & Fix: cycle_bullets bug not defined key in dic: #911 2020-06-16 13:46:56 -04:00
Michael F. Schönitzer
a9f21c6d4a
Functions to remove all todo items that are done (#906)
Add function VimwikiRemoveDone that will delete lines with todo list items marked as done. Works on ranges as well as without range on the current list.

Co-authored-by: Tinmarino <tinmarino@gmail.com>
2020-06-08 14:31:35 +02:00
Michael F. Schönitzer
ac4d0a1d46
Allow to configure bullet points & status indicators per wiki (#889)
* Allow the bullet point characters of lists to be configures by the wiki option `bullet_types`. This allows to use other/additional characters for the bullets of lists – including unicode-chars like '→' or '•'. The default values depends on the chooses syntax.
* Allow to configure `vimwiki-listsyms` and `vimwiki-listsym_rejected` on per wiki basis.
* Fix a test for mediawiki syntax
2020-06-04 18:33:12 +02:00
Tinmarino
d8e7e40fcd Update vimwiki.txt
REmove the star at flex
2020-06-01 11:24:15 -04:00
PtitCaius
df8bfcba23 Add changelog 2020-06-01 11:24:15 -04:00
Michael F. Schönitzer
96b139253d Merge branch 'dev' 2020-05-26 23:37:46 +02:00
Michael F. Schönitzer
c9e6afe856 Prepare for release 2.5
- Format Changelog
- Update version number in docs
- Update list of Contributers
- Update version number in tests
- Update link in README
2020-05-26 23:09:58 +02:00
Michael F. Schönitzer
1eb74dcf2f
Rename three commands, deprecate their old names (#887)
The following commands have been renamed to better describe their
function and avoid confusion.
:VimwikiDeleteLink → :VimwikiDeletePage
:VimwikiRenameLink → :VimwikiRenamePage
:VimwikiGenerateTags → :VimwikiGenerateTagLinks (was already renamed in 3b5537f)

Calling the old commands still works but displays a warning message.
2020-05-24 23:49:28 +02:00
Michael F. Schönitzer
57dc48d686
Fix grammar in help file (#888) 2020-05-24 23:49:10 +02:00
Michael F. Schönitzer
b4cb7f7ab6 Preciser description for VimwikiGenerateLinks
Preciser and easier understandable description for VimwikiGenerateLinks.
2020-05-18 12:10:53 -04:00
Tinmarino
f49a91501b Fix: Command [count]o can't repeat in vimwiki
Issue #776
2020-05-17 14:07:43 -04:00
Tinmarino
f4c983b6b5 Feature: VimwikiGenerateLink take pattern optional argument
Issue #803
2020-05-17 13:14:08 -04:00
Tinmarino
3b5537f15a Fix: Link containing only '-'
Issue #835 #876
2020-05-17 12:31:32 -04:00
Tinmarino
c6564119b0 Doc: g:vimwiki_auto_chdir, emphasis __root__ wiki path
and not current file path as Issue #802
2020-05-14 00:17:31 -04:00
Hugo
46025fb0fb Update MathJax local loading instructions
The MathJax.js file doesn't exist anymore in the MathJax repository and
the script that should be loaded is tex-chtml.js.
This update the helpfile to reflect this change.
2020-05-11 21:24:04 -04:00
Patrick Stockwell
73527d3f14 Update changelog and contributors list 2020-05-11 21:08:54 -04:00
kaphula
867d81a50c Added new feature to insert plaintext to the final html conversion file. 2020-04-18 13:04:55 -04:00
Mauro Morales
6a0210c644 Update changelog and contributors 2020-04-17 19:02:59 -04:00
Rane Brown
78a41b79c6 Merge branch 'multi_ft' into dev
This allows setting multiple filetypes at the same time e.g. 'vimwiki.md'
Closes #817, resolves #830, resolves #461.
2020-04-03 13:31:36 -06:00
Rane Brown
75c557bcbc Disable syntax for indented code blocks.
The behavior within lists is not correct.
2020-01-08 06:03:40 -07:00
Tinmarino
d9412218e3 Fix relative paths for VimwikiRenameLink. Merge PR #787.
Fixes #90 

__Problem__: VimwikiRenameLink does not rename dir1/toto url in dir2/tata
because the dirs (dir2 and .) were well crossed but badly inspected.
__Solution__: `blob(.ext*)` -> `glob(**/*.ext)` + find the relative URL

* Fasten: VimwikiRenameLink goes faster with cache
More: To compute old_url regex, use a cache dict because it is the same
for files in the same directories

* Util DeleteHiddenBuffer -> do not delete Vader buffer

* Test: Prettify: Util: teardown delete defined function

* Remove unnecessary trailing spaces
Note: list_VimwikiReturn.vader has some necessary trailing spaces
2020-01-04 21:21:52 -07:00
Rane Brown
3ec0c9cd91 Add markdown syntax support for indented code blocks. 2020-01-03 07:10:02 -07:00
Rane Brown
5126967d09 Rename VimwikiGenerateTags -> VimwikiGenerateTagLinks
Closes #796
2020-01-02 20:53:48 -07:00
Rane Brown
5cdeb9a682 Improve markdown syntax for fenced code blocks. Closes #764 2020-01-01 10:58:56 -07:00
Rane Brown
2c50f710b8 Update changelog 2019-12-30 10:25:02 -07:00
Rane Brown
b9eec79cc6 Update tags file format. Closes #779. 2019-12-30 10:07:20 -07:00
Rane Brown
3cc6fa71f6 Update default list_margin value 2019-12-21 09:16:48 -07:00
Rane Brown
cd3e3d238b Update changelog 2019-12-20 20:41:08 -07:00
Rane Brown
58331993c7 Update changelog 2019-12-14 21:08:32 -07:00
Rane Brown
c58d5da049 Set default ext2syntax values for markdown and mediawiki.
Closes #769.

Also fixes an error when adding missing '.' to mapped extensions. The
previous behavior tried to access a value after it was removed from the
dictionary.
2019-12-14 20:31:59 -07:00
Cesar Tessarin
16998af36d
Update MathJax CDN loading instructions
The instructions to loading MathJax from a CDN were outdated and not
working for some users.

This commit updates those links to conform with the instructions from:
https://www.mathjax.org/#gettingstarted
2019-10-25 16:13:52 -02:00
Rane Brown
85b220bae1 Merge branch 'issue-420' of https://github.com/ratfactor/vimwiki into ratfactor-issue-420 2019-10-20 20:27:25 -06:00
Rane Brown
4bc6ff4547 Exclude code block comments from header folding.
This makes sure comment characters that match markdown folding are not
recognized as a header and folder. Fixes #212, Fixes #756.
2019-10-16 22:31:42 -06:00
Rane Brown
1f85a3c855
Merge pull request #735 from simias/fix-407
Fix off-by-one error in get_next_line and get_prev_line
2019-10-15 12:15:14 -06:00