Add syntax highlighting to public description

This commit is contained in:
Andy Smith
2025-11-06 13:16:11 -06:00
parent 7447be9d5f
commit f291de4dce
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -498,5 +498,9 @@
margin-inline: auto;
text-align: start;
}
code {
text-align: left;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@
<% end %>
<% if @board.public_description.present? %>
<div class="card__board-public-description txt-align-center center margin-block-end">
<div class="card__board-public-description rich-text-content txt-align-center center margin-block-end" data-controller="syntax-highlight">
<%= @board.public_description %>
</div>
<% end %>