Closed alexzaech closed 1 month ago
This can be easily achieved by using markdown_to_html feature.
Edit line 142 in SharedProjectTimesheetsBundle/Resources/views/view/timesheet.html.twig
:
<td>{{ record.description | e | nl2br | markdown_to_html }}</td>
Clear and warmup the cache and it should work. Description now renders markdown als html correctly.
Note: Require adding twig/markdown-extra
to composer dependencies
Would be nice to render markdown in the description field.