mirror of
https://github.com/preservim/vim-pencil.git
synced 2025-11-12 11:53:47 -05:00
Further improve wording on the new Conceal support
This commit is contained in:
@@ -221,7 +221,7 @@ let g:pencil#cursorwrap = 1 " 0=disable, 1=enable (def)
|
|||||||
|
|
||||||
For syntaxes such as [tpope/markdown][tm] which support Vim’s Conceal
|
For syntaxes such as [tpope/markdown][tm] which support Vim’s Conceal
|
||||||
feature, you can display \_*italic*\_, \*\*__bold__\*\* and \*\*\*___bold
|
feature, you can display \_*italic*\_, \*\*__bold__\*\* and \*\*\*___bold
|
||||||
italic___\*\*\* markup where the `_` and `*` characters will be hidden
|
italic___\*\*\* styles where the `_` and `*` characters will be hidden
|
||||||
when you’re not on the line. Set the following to `0` if you don’t want
|
when you’re not on the line. Set the following to `0` if you don’t want
|
||||||
this behavior.
|
this behavior.
|
||||||
|
|
||||||
@@ -229,9 +229,9 @@ this behavior.
|
|||||||
let g:pencil#conceallevel = 2 " 0=disable, 1=onechar, 2=hide (def)
|
let g:pencil#conceallevel = 2 " 0=disable, 1=onechar, 2=hide (def)
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that to display the _italic_, **bold**, and ***bold italic*** styles
|
A couple of requirements: to display the _italic_, **bold**, and ***bold
|
||||||
in Vim, you will need both a font (such as [Cousine][co]) featuring those
|
italic*** styles in Vim, you will need both a font (such as [Cousine][co])
|
||||||
style variants as well as a colorscheme (such as
|
featuring those style variants as well as a colorscheme (such as
|
||||||
[reedes/vim-colors-pencil][cp]) which supports the Markdown-specific
|
[reedes/vim-colors-pencil][cp]) which supports the Markdown-specific
|
||||||
highlight groups.
|
highlight groups.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user