​​

On Sat, Jan 21, 2017 at 5:03 PM, 'Terry Brown' via leo-editor <
[email protected]> wrote:


> > Leo's colorizer can handle
> ​ ​
> multiple @language directives.
>
> In a single node?


​Yes.
​


> html / css / javascript can occur in the same
> ​[node]
>

​The edge case is javascript embedded in html.  Coloring this correctly
involves complex "delegated" colorizing, which may not work correctly.

But this is the only edge case that I know of.  If you can separate
different pieces of code with @language, Leo should color everything
correctly.  If not, consider filing a bug report ;-)

This is about to become important.  To support org-mode-like processing we
may want to add arguments to @language directives:

@language python :results output :export html.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to