Groups
Sign in
Groups
highlight.js
Conversations
About
Send feedback
Help
Using curly braces in with highlight js
63 views
Skip to first unread message
Mehdi Rahimi
unread,
Jun 9, 2017, 3:45:24 AM
6/9/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to highlight.js
Hi,
I want to use highlight.js for Laravel blade templating codes,
But highlight.js couldn't support lines like this:
<pre
class
=
"language-markup"
><code>
{{ $item }}
</code></pre>
What should I do and how can I scape curly braces??
jinal....@gmail.com
unread,
Jul 27, 2017, 6:40:44 AM
7/27/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to highlight.js
use {!! $item !!} instead of {{ $item }}
Reply all
Reply to author
Forward
0 new messages