OXY2DEV/markview.nvim

✨ Feature: Can Markview be used on Terminal buffers?

Closed this issue · 2 comments

The nature of the feature:

  • Parser(syntax, conceal etc. related)
  • Renderer(style, options etc. related)
  • Support(plugin support, language support etc. related)
  • Other

Description:

I came into a use case where I may want to use Markview in terminal buffers to render output from ollama. It does not look like running :Markview or setting the filetype of the buffer to markdown allows markdown in terminal buffers to be formatted. Looking for some input if this is possible in the current version of the software or if the software could be made to support this.

Note: I tried adding "t" to modes in my config and it did not appear to do anything.

🤖 Bot: Issue has not seen activity in 30 days and will therefore be marked as stale. It will be closed in 7 days if no further response is found.

I have tested this and it won't work.

Terminals(& terminal buffers) work differently then text buffers. Tree-sitter can't create a syntax-tree as how stuff is shown on a terminal is different to how text is shown in a normal buffer.

This wouldn't be possible, at least not now.