Change language for specific range?

Any way to specify a language just for a specific range? The mixed language example isn’t exactly what I was thinking.

Alternatively: can a language be triggered based on certain characters?

No, the way parsing works is that its only input is the document, on the assumption that mixed languages do their mixing based on the syntax of the code.

1 Like