Have been looking at texinfo-mode a bit to see how to set outline-heading-alist. But not been very successful. Could need some help.
> Sent: Thursday, May 13, 2021 at 12:08 AM > From: "Ihor Radchenko" <yanta...@gmail.com> > To: "Christopher Dimech" <dim...@gmx.com> > Cc: "Tim Cross" <theophil...@gmail.com>, emacs-orgmode@gnu.org > Subject: Re: Highlighting and Background Colour for Source Code > > Christopher Dimech <dim...@gmx.com> writes: > > Suppose I have an elisp file and I change to org-mode by hitting "M-x > > org-mode". > > The code does not get highlighted because it is not embedded within > > org-babel > > construct. > > > > If I have a programming language file with some org-mode heading commands > > in it, > > and change to org-mode, it would be neat to have language highlighting > > available. > > Hmm. What about polymode [1]? > > [1] https://github.com/polymode/polymode > >