Use Marked and marked-mfm for MFM rendering (#29)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/29 Co-authored-by: sfr <sol@solfisher.com> Co-committed-by: sfr <sol@solfisher.com>
This commit is contained in:
parent
28d5a55352
commit
931ed3d3c7
9 changed files with 3812 additions and 2817 deletions
|
@ -17,7 +17,6 @@
|
|||
& .text,
|
||||
& .summary {
|
||||
font-family: var(--postFont, sans-serif);
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
word-break: break-word;
|
||||
|
@ -31,6 +30,9 @@
|
|||
}
|
||||
|
||||
.text {
|
||||
& > * {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
&.-single-line {
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue