From 5d5ded5c5507ccb212b6a1138f2a6d58349e7f2e Mon Sep 17 00:00:00 2001 From: yetone Date: Sat, 17 Aug 2024 22:33:40 +0800 Subject: [PATCH] fix: docs with render-markdown (#41) --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 78f5c39f3..c17169c7f 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,13 @@ Install `avante.nvim` using [lazy.nvim](https://github.com/folke/lazy.nvim): } }, "nvim-lua/plenary.nvim", - "MeanderingProgrammer/render-markdown.nvim", -- optional + { -- Optional + 'MeanderingProgrammer/render-markdown.nvim', + opts = { + file_types = { "markdown", "Avante" }, + }, + ft = { "markdown", "Avante" }, + }, }, } ``` @@ -50,7 +56,7 @@ Install `avante.nvim` using [lazy.nvim](https://github.com/folke/lazy.nvim): > > ```lua > { -> "MeanderingProgrammer/markdown.nvim", +> "MeanderingProgrammer/render-markdown.nvim", > opts = { > file_types = { "markdown", "Avante" }, > },