By using some PHP code (specific function calls like $headScript->captureStart/End() ) as delimiters? No.
The best I may suggest in such situation is:
Extract such JavaScript code into a separate file (no need for extra <script> tags there)
Name that file with .js.php extension -- it will automatically make JavaScript as outer language in that file (instead of default HTML). If you omit such double extension .. then you may still do that but manually (at Template Data Languages settings page)
Use PHP's include or require in original file to acquire and use such file content
Hi there,
By using some PHP code (specific function calls like $headScript->captureStart/End() ) as delimiters? No.
The best I may suggest in such situation is:
It works, thank you