Closed EmranMR closed 1 year ago
inline @section()
proven to be difficult to implement.
❌ It conflicts with the "nested" @section
directives. Parser throws an error looking for the closing directive.
Things tried:
inlineSection
rule definition,
to text and creating `@section($.text, $.text),
as high precedenceRegardless you either get inlineSection
or the nested
both throwing an error. 😬
Old fashion Laravel apps might be using Template Inheritance.
Add support for the following:
Support for
@parent
keyword inside@section
keyword
rule as it will get the job done.