Skip to content

Commit

Permalink
Spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
mscherer committed Sep 12, 2024
1 parent f92222c commit e52abe9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plugins/Sandbox/templates/TemplatingExamples/icons.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
</p>

<p>FontAwesome also has quite powerful options for icons:</p>

<p>
<code style="display: block;">
<?php
$text = <<<TEXT
Expand All @@ -60,6 +62,10 @@
echo nl2br(h($text));
?>
</code>
</p>

<p>results in:</p>

<p>
<?php
echo $this->Icon->render('motorcycle', ['rotate' => 90]) . ' (rotated 90 degrees)';
Expand Down

0 comments on commit e52abe9

Please sign in to comment.