How to escape blade instructions in a blade template? -


I am writing a tutorial on Sass in a blade template and want to include Sass' @ syntax. But the '@included' blade has a reserved command, how can I survive?

Sample html in my blade template:

  & lt; P & gt; Use & lt; Code & gt; @ & Lt; / Code & gt; A SAS & lt; Code & gt; @ Mixin & lt; / Code & gt; ... & lt; / P & gt;  

Edit:

I type in HTML & amp; # 64; , but there is a way to avoid blade instruction, so is still interested.

You can try to resolve this situation, in your blade template, @include < / Code> instead of {{'' '.' Insert}} then your whole thing will appear:

  & lt; P & gt; Use & lt; Code & gt; {{'@'. 'Include'}} & lt; / Code & gt; A SAS & lt; Code & gt; @ Mixin & lt; / Code & gt; ... & lt; / P & gt;  

Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

python - mayavi mapping a discrete colorbar on a surface -