-
|
When I am in a gptel buffer and the model outputs a code block that includes the language name in the start fence, the code within the block is not syntax highlighted. If I copy/paste that markdown block into another markdown buffer, syntax highlighting appears. Is there a way to get the syntax highlighting working directly in the gptel buffer? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I'm not sure what's going on here. There is a toggle in markdown-mode to turn on/off syntax highlighting in markdown blocks (it's FWIW I get syntax highlighting in all markdown buffers, irrespective of gptel-mode. |
Beta Was this translation helpful? Give feedback.
I'm not sure what's going on here. There is a toggle in markdown-mode to turn on/off syntax highlighting in markdown blocks (it's
markdown-fontify-code-blocks-natively), but this should apply to both of your markdown buffers. I don't know why it's not applying to the gptel one -- it is also just a markdown buffer.FWIW I get syntax highlighting in all markdown buffers, irrespective of gptel-mode.