Skip to content

Commit

Permalink
Fixed code higlight in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Feb 2, 2025
1 parent bd50616 commit 8ae6195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/landing/templates/documentation/example.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<button class="absolute top-[12px] right-[12px] bg-orange-100 rounded px-4 leading-9 [&.copied]:before:content-['Copied!'] before:absolute before:-translate-x-20" data-clipboard-target="#composer-json" {{ stimulus_controller('clipboard') }}>
<img src="{{ asset('images/icons/copy.svg') }}" alt="copy composer-json" width="20" height="20" class="inline">
</button>
<pre class="rounded p-4 overflow-auto shadow-2xl shadow-gray rounded border-gray border-2"><code id="composer-json" class="language-php" data-controller="syntax-highlight" >{{- composer | escape('html') -}}</code></pre>
<pre class="rounded p-4 overflow-auto shadow-2xl shadow-gray rounded border-gray border-2"><code id="composer-json" class="language-json" data-controller="syntax-highlight" >{{- composer | escape('html') -}}</code></pre>
</div>
{% endif %}

Expand Down

0 comments on commit 8ae6195

Please sign in to comment.