Skip to content

Commit 1c4710d

Browse files
committed
Updated README
1 parent 9d0f3cd commit 1c4710d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ You can format text as usual by using `gq`.
103103
Here `gq` uses `prettier`, provided that you have it installed.
104104
That is, if you use `gq` plus motion, or if you visually select some text and
105105
then hit `gq`, then `prettier` will only prettify such a portion of text. You
106-
can also prettify the whole buffer on save, see `:h markdown-extras-config` how
107-
to do that.
106+
can also prettify the whole buffer on save by setting
107+
`g:markdown_extras_config['format_on_save'] = true` in your `.vimrc`.
108108

109109
### Rendering
110110

@@ -120,7 +120,7 @@ You can pass arguments to `pandoc` via the key
120120
You could for example set the following:
121121

122122
```
123-
g:markdown_extras_config = {}
123+
g:markdown_extras_config = {}
124124
g:markdown_extras_config['pandoc_args'] =
125125
[$'--css="{$HOME}/dotfiles/my_css_style.css"',
126126
$'--lua-filter="{$HOME}/dotfiles/emoji-admonitions.lua"']

0 commit comments

Comments
 (0)