Page 1 of 1

DONE: How to highlight bash syntax in markdown

Posted: 21 Sep 2025 12:13
by Trench3
Hello, I'm a noob and I like the syntax highlighting in ChatGPT. Is it possible to edit mark down files with embedded bash code with the same syntax highlighting as in ChatGTP?

RJ Texted editor:
rj_texted.png
rj_texted.png (22.28 KiB) Viewed 43337 times
RJ Texted preview:
preview.png
preview.png (20.22 KiB) Viewed 43337 times
In ChatGTP:
chatgtp.png
chatgtp.png (13.72 KiB) Viewed 43337 times

Re: How to highlight bash syntax in markdown

Posted: 17 Oct 2025 13:43
by Rickard Johansson
Added highlighting for different languages in next release (v16.50). Thanks!

md-code.png
md-code.png (17.45 KiB) Viewed 31116 times

BTW. I added a few code styles as well, in options. E.g. you may prefer xcode or github highlighting...