iamcco / markdown-preview.nvim

markdown preview plugin for (neo)vim
MIT License
6.67k stars 277 forks source link

How can I find out what the number of the md file on the url?我怎样才能知道md文件在url上的数字是多少? #658

Open sai-guo opened 5 months ago

sai-guo commented 5 months ago

image it suggest me that the url is http://127.0.0.1:8127/page/3 “/page/3” how can i configure this uri?

如上图,我的url是http://127.0.0.1:8127/page/3,这个/page/3是怎么出来的,我该如何自定义呢?

luren-dc commented 3 months ago

这个数字应该是 buffer 的 id Screenshot_2024_0608_182711

sai-guo commented 3 months ago

@luren-dc 这里的源码位置在哪呢,我对这个开发语言不是很熟,我想改一下。之前有验证过,好像单纯改这个bufferid还不行,需要改底层依赖的代码才行。