[UI][NOTE][MARKDOWN] Add markdown support to the notes
This commit is contained in:
parent
8cc0360298
commit
8a48236d2d
|
@ -143,8 +143,6 @@
|
|||
padding: var(--small-size);
|
||||
border-radius: 0 0 var(--unit-size) var(--unit-size);
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.note-attachments {
|
||||
display: flex;
|
||||
|
|
|
@ -143,8 +143,6 @@
|
|||
padding: var(--small-size);
|
||||
border-radius: 0 0 var(--unit-size) var(--unit-size);
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.note-attachments {
|
||||
display: flex;
|
||||
|
|
|
@ -143,8 +143,6 @@
|
|||
padding: var(--small-size);
|
||||
border-radius: 0 0 var(--unit-size) var(--unit-size);
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.note-attachments {
|
||||
display: flex;
|
||||
|
|
|
@ -11,7 +11,11 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
<div class="note-content">
|
||||
{{ note.getContent() }}
|
||||
{% block markdown %}
|
||||
{% apply markdown_to_html %}
|
||||
{{ note.getContent() }}
|
||||
{% endapply %}
|
||||
{% endblock %}
|
||||
<div class="note-other-content">
|
||||
{% for other in get_note_other_content(note) %}
|
||||
{% include '/'~ other.name ~ '/view.html.twig' with {'vars': other.vars} only %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user