Tinmarino
f18bf3dafb
Fix: Html convertion regex Bold and Italic (Issue #977 )
...
Problem: I copied rxBold from markdown (mea culpa)
Solution: Use the one that was defined in default
2020-08-07 12:27:05 -04:00
Tinmarino
94a78859d7
Refactor: Syntax as region (code, eq, sub, sup, strike) => Fix (Issue #709 )
...
More syntax pattern are defined as regions => Faster, enable nesting
2020-08-03 18:45:46 -04:00
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
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
Tinmarino
787e95b910
Refactor: Vars: Make vimwiki_toc_header wiki local
...
Also: vimwiki_toc_header_level, vimwiki_toc_link_format
2020-07-30 18:48:15 -04:00
Gaurang Kher
f107557463
#940 : Render header inside thead element if table has header ( #941 )
2020-07-29 15:36:33 -04:00
Tinmarino
f21245a843
Fix: html conversion error from markdown ( #951 )
...
From last html conversion refactoring
2020-07-24 00:14:28 -04:00
Reiner Herrmann
e3501dcdd0
Generate RSS feed for diary entries
2020-07-22 10:06:30 -04:00
Reiner Herrmann
0543b46ffd
Refactor HTML conversion into separate function
2020-07-22 10:06:30 -04:00
Rafael Castillo
36e5455723
Fix blockquotes not stripping arrows
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
Tinmarino
5e564bb10d
Comment: code and robustify
2020-06-04 17:29:26 -04: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
kaphula
35af13c1ef
Moved safe_line_html call after the %plainhtml check so it does not convert essential html characters such as < and > to ampersand form.
2020-04-20 22:11:40 -04:00
kaphula
867d81a50c
Added new feature to insert plaintext to the final html conversion file.
2020-04-18 13:04:55 -04:00
Rane Brown
1a4e1ed1ae
Stylistic changes to pass vint tests.
...
Two non-stylistic errors were also fixed:
1. Removed duplicate function with invalid argument usage
2. Added missing quotes to a function call argument
2019-12-20 20:41:03 -07:00
Michael Brauweiler
c48637fd99
Add better echoing of custom wiki2html script
...
This commit adds a check to the call of the wiki2html script,
so that it is only echoed if it actually produces output.
2019-12-08 12:05:25 +08:00
Greg Anders
ddf7e5e0ff
Allow forcing VimwikiAll2HTML with !
2019-05-20 08:22:15 -06:00
Patrick Davey
5f01182468
Add html_filename_parameterization option.
...
This adds the vimwiki_local `html_filename_parameterization` option (0|1)
which performs the same sanitization of filenames as does the
vimwiki_markdown gem.
For example, if your file is called "My File.md" it will be written out
as "my-file.html".
If the html_filename_parameterization options is enabled, we also _do
not delete_ non-matching html files when the VimwikiAllToHtml command is
run.
Closes #129
2019-04-13 10:07:51 +12:00
Rane Brown
c8d09d7c9e
Merge pull request #629 from gpanders/dev
...
Allow customization of header level of TOC
2019-03-18 17:20:30 -06:00
Henry Qin
efcc3f1fa5
Merge branch 'wiki-path' into 'dev'. Closes #573 .
...
Introduce a `%wiki_path%` variable which can be used in HTML template
files to output the path of the wiki file being converted to HTML.
2019-03-17 18:19:49 -07:00
Hugo Hörnquist
2f87f92060
Better foreground for colorcodes.
2019-03-17 22:40:34 +01:00
Greg Anders
bb40826def
Allow customization of header level of TOC
...
Instead of forcing the TOC to always be at header level 1, allow the
user to specify via the option g:vimwiki_toc_header_level what level
they want.
This defaults to 1, so if the user does nothing then the old behavior
will remain the same.
2019-03-14 08:34:52 -06:00
Hugo Hörnquist
08ec02a755
Alternative where text color is inverse of background.
2019-02-19 21:04:57 +01:00
Hugo Hörnquist
21f5069e48
Code-blocks auto-color.
2019-02-19 20:45:10 +01:00
Hugo Hörnquist
bda3a59f91
Made headings link to themselves.
...
Made each heading link to itself, by placing an <a> tag inside each
<h[1-6]> tag.
Also adds class="header" to each header, allowing for the CSS rule
.header a { ... }
to remove all styling from the inner links, allowing the outputed
document to look like before.
2019-01-30 21:13:29 +01:00
EinfachToll
6257c8fa54
Revert "Allow to specify additional chars for lists"
...
This reverts commit 75819ca23a
.
2019-01-17 21:57:42 +01:00
Michael F. Schönitzer
75819ca23a
Allow to specify additional chars for lists
...
See also #390 and #479 for earlier attempts
2019-01-03 21:02:21 +01:00
EinfachToll
a653e2d8c2
HTML converter: trim strings correctly
...
The old version didn't remove trailing spaces.
2018-11-25 17:56:43 +01:00
EinfachToll
7969810b49
Fix losing highlighting after VimwikiAll2HTML
...
Apparently, switching buffers in connection with disabled events caused
the highlighting to disappear. Solution: use the :wa command to save all
buffers. A disadvantage is that now also non-Vimwiki buffers are saved,
but I think that is bearable.
2018-10-27 17:01:52 +02:00
Hugo Hörnquist
28727b3971
Add %wiki_path% template variable.
2018-10-11 14:25:55 +02:00
EinfachToll
3f8bb1261f
Make some functions script-local
2018-04-20 07:13:21 +02:00
EinfachToll
c1dbf90c29
Remove foldmarkers; general reformatting
2018-04-20 07:03:53 +02:00
EinfachToll
cdc37162a9
Escape only '"' in links
...
Fix #467
Ref #474
2018-04-16 20:40:18 +02:00
Petrus
65c4ffacca
fix missing custom_wiki2html_args default key
...
Ref #475
2018-04-13 11:03:21 +02:00
Michael F. Schönitzer
9b5e4b445a
Revert previous changes
2018-04-04 16:54:41 +02:00
Michael F. Schönitzer
89d28a72c5
Merge branch 'beta' into dev
2018-04-04 02:27:27 +02:00
EinfachToll
b016eab91a
Set 'tw' to 99 in all source files. We're not in the middle ages anymore.
2018-02-21 07:11:51 +01:00
EinfachToll
f8ee21aa64
Merge branch 'refactor-internal-state-handling' into dev
...
Conflicts:
autoload/vimwiki/base.vim
autoload/vimwiki/diary.vim
autoload/vimwiki/html.vim
autoload/vimwiki/lst.vim
autoload/vimwiki/markdown_base.vim
doc/vimwiki.txt
ftplugin/vimwiki.vim
plugin/vimwiki.vim
syntax/vimwiki.vim
syntax/vimwiki_default.vim
syntax/vimwiki_markdown.vim
syntax/vimwiki_media.vim
2018-02-19 17:56:17 +01:00
EinfachToll
1e858b50cb
Cherry-pick the changes from dev -- part7
2018-02-19 07:07:22 +01:00
EinfachToll
3756c6258b
Cherry-pick the changes from dev -- part4
2018-02-16 21:42:32 +01:00
EinfachToll
73bda6b9ab
Cherry-pick the changes from dev -- part3
2018-02-16 18:11:49 +01:00
EinfachToll
19f398c73e
Cherry-pick the changes from dev -- part 1
2018-02-16 07:26:42 +01:00
Michael F. Schönitzer
d4240083f7
Merge pull request #3 from Nudin/individualli
...
Allow to specify additional chars for lists
2017-09-16 17:09:41 +02:00
Michael F. Schönitzer
41e653718e
Allow to specify additional chars for lists
2017-09-16 16:30:22 +02:00
Michael F. Schönitzer
f917b01998
Html-export: Add support of rejected Todo-listentry
2017-08-05 16:45:35 +02:00
s
3ecf9c544a
set additional custom arguments in g:vimwiki_list
...
(custom_wiki2html_args) which will then be passed to the appropriate
custom_wiki2html script.
2017-07-11 21:52:41 +02:00
EinfachToll
f6437ebdf5
Fix regexps of placeholders
...
- the highlighting was wrong when the placeholder is indented
- %titleBla was wrongly recongnized as placeholder
- make them more robust by prepending \m
2017-07-08 22:08:41 +02:00