markdown-preview.nvim
markdown-preview.nvim copied to clipboard
Adjust text before rendering
I really love this project but I have a minor issue. I usually add some metadata to my markdown files (e.g. tags, date...) that I would like to filter out from the preview. I was looking at your code hoping to find a sport where I can hook into and remove those lines from the text before it is rendered. Any suggestions for where to look? Perhaps in this function? (assuming that is where the ts server reads the buffer from)
It would be better to do before render
https://github.com/iamcco/markdown-preview.nvim/blob/master/app/pages/index.jsx#L127