vimr icon indicating copy to clipboard operation
vimr copied to clipboard

Custom markdown processor setting

Open ernstwi opened this issue 6 years ago • 4 comments

Hello! Thanks for all the work on VimR.

This allows users to set a shell command to run instead of the default markdown processor. I saw there were some issues asking for different markdown features, which is probably unavoidable since there are so many variants of markdown. Personally I use pandoc with a lot of flags to get the specific markdown variant I prefer.

This is a work in progress but I wanted to get your input. Do you think this is a good idea? I was also unsure of where to put the setting. It is currently under "General" which I'm sure is not right, but should it go under "Tools" or "Advanced"? Or maybe in the cogwheel menu at the top of the preview window?

ernstwi avatar Aug 17 '19 12:08 ernstwi

Sorry for the late response. I think that the Advanced would do fine.

qvacua avatar Oct 04 '19 16:10 qvacua

I'm very sorry for being late. IMO "Advanced" would be the best fit for this setting. The forward and reverse search should be disabled without changing the settings value when a custom renderer is set. Also, one should check that the renderer exists when setting it.

qvacua avatar Dec 25 '19 10:12 qvacua

@ernstwi did you give up on this feature?

@qvacua did you ever try out the PR?

jottr avatar Apr 23 '21 16:04 jottr

@jottr Sorry yes, I did give up on this.

In my case I already had a wiki server running locally which renders markdown how I like it, so it was more convenient to use VimR's HTML preview. I added a command VimRReloadWebview which takes an URL parameter. This let me sync HTML preview to the active buffer.

ernstwi avatar Apr 25 '21 07:04 ernstwi

I'm sorry for being mute for some time. I've been inactive due to some private reasons. I'll get slowly get restarted and go through all PRs.

qvacua avatar Oct 31 '23 17:10 qvacua