Commit Graph

73 Commits (0f0d41615be3baf3769d7bd6f3157916c9b3154a)

Author SHA1 Message Date
Ed L d2264a2a43 fix: use --monospace-font 2022-09-20 18:24:59 +01:00
Paul Makles 61a06c3f1a fix: re-write blockquote regex to include lists 2022-09-17 13:01:02 +01:00
Paul Makles 2c50d9be6b chore: disable list behaviour if line starts with plus 2022-09-02 16:29:20 +01:00
Paul Makles b7a10bb9ab fix: ensure blockquotes are broken 2022-09-02 14:17:56 +01:00
Paul Makles 07fd598bf9 fix: don't collapse whitespace / newlines 2022-08-18 12:56:21 +02:00
Leda c2a729a5e0 fix: render markdown inside/after HTML tags
fixes #733
2022-08-08 16:02:57 +01:00
Paul Makles 084c90613f feat: add reactions 2022-07-16 15:17:02 +01:00
Paul Makles 4f3f6e26cf feat: convert html AST nodes to text 2022-07-13 12:32:39 +01:00
Paul Makles 030c211230 fix: internal links would not redirect properly 2022-07-12 14:15:53 +01:00
Paul Makles 7f6db77c4f chore: change quote depth limit to 5 from 3 2022-07-11 15:33:57 +01:00
Paul Makles 924448dc2c fix: remove html entities using AST plugin 2022-07-11 15:33:34 +01:00
Paul Makles 0ec7e5e116 feat: try to load any 'valid' emoji 2022-07-10 13:53:19 +01:00
Paul Makles 448722225e fix: change quote matching Regex 2022-07-09 17:55:13 +01:00
Paul Makles ec96dde694 feat: render custom emoji 2022-07-08 17:14:15 +01:00
Paul Makles c12d40d0da fix: correct mention styling 2022-07-08 16:58:21 +01:00
Paul Makles 7e20d5029e fix: underline anchor; prevent jitter on render 2022-07-08 15:45:16 +01:00
Paul Makles 262b931810 fix: actually render HTML out instead of obliterating it 2022-07-08 15:36:18 +01:00
Paul Makles 4a85dd69cf fix: limit maximum quote depth to 3 2022-07-08 15:19:16 +01:00
Paul Makles 34bb2bbc13 feat: switch to `remark` from `markdown-it` (big)
* replaces old mentions with avatar and display name
* renders things directly through React
* replaces most of the markdown hacks with custom AST components
* adds a tooltip to codeblock "copy to clipboard"
2022-07-08 14:24:48 +01:00
Paul Makles f9c6f5cd9d chore: delete intermediate 2022-07-05 21:13:42 +01:00
Paul Makles a24e027a48 chore: clean up picker / prism imports 2022-07-04 19:04:27 +01:00
Paul Makles 1664aaee15 feat: add `ServerInfo`, port `ChannelInfo` 2022-06-30 19:06:49 +01:00
Paul Makles 5f2311b09c feat: implement `useClient` from client controller 2022-06-28 19:59:58 +01:00
Leda 2e9c013ed8
fix: display voice channel as link in messages (#658)
* fix: display voice channel as link in messages

* chore: format
2022-06-14 15:17:00 +01:00
Paul Makles 8a2826da91 fix: use `class` in markdown rendering 2022-06-10 17:36:59 +01:00
Paul Makles e0ca1681bd chore(refactor): move and re-organise types folder 2022-06-10 14:11:38 +01:00
Paul Makles 8f0c69f528 chore: remove super and subtext (closes #438) 2022-05-10 12:27:44 +01:00
Paul Makles b2f4411850 feat: switch to revolt.js@6.0.0 + new revolt-api 2022-04-09 15:47:04 +01:00
trashtemp 50b0e0f5f2
fix: added flex shrink to mention 2022-01-21 09:47:18 +01:00
trashtemp da5d82537d
fix(voice): fixed header style 2022-01-16 13:44:00 +01:00
trashtemp 79550cb2ad
fix(sidebar): changed server sidebar width 2022-01-15 12:36:50 +01:00
trashtemp c77213f02f
fix(markdown): used padding-inline-left for RTL 2022-01-14 18:43:32 +01:00
ayntgl eea4d49743
fix(components): add padding-right to markdown code element (#499) 2022-01-14 16:49:32 +00:00
Paul Makles 8d1e26d03e fix: fix build errors 2022-01-07 21:43:00 +00:00
Paul Makles e13edcbb76 fix: contain emojis; also add more 2022-01-05 15:05:29 +00:00
Ryan Alexander 5735020013
feat: add markdown formatting for messages containing timestamps (#482) 2022-01-04 10:53:12 +00:00
Paul 4719150368 feat(renderer): add additional languages to cb
Closes #28
2021-12-22 22:11:25 +00:00
Paul Makles 6e4c4f3ae2
fix(ui): fixes for mobile UI, settings and sessions pages (#451)
Co-authored-by: trashtemp <96388163+trashtemp@users.noreply.github.com>
2021-12-20 20:48:37 +00:00
Paul 3cf8c64d7c fix(markdown): enable linkify, disable fuzzyLink 2021-11-04 21:04:44 +00:00
Paul 7e7f9d0f23 chore(markdown): disable linkify 2021-11-04 14:35:41 +00:00
Paul 112a6f5497 fix(markdown): fix line breaks
fixes #214
2021-11-04 14:33:59 +00:00
Paul 51f23f5aa0 Include noreferrer on embed links / window.open. 2021-09-17 09:37:07 +01:00
Paul 048267b419 Remove stray console.log and update translations.
Update themes endpoint and filter unmatched commits.
2021-09-09 22:39:17 +01:00
brecert f35ebeab67
Add `shift+click` to channel links 2021-09-07 09:26:12 -04:00
brecert a308e6ecb8
Add `shift+click` to mention mentions 2021-09-07 09:09:12 -04:00
Paul 2ccc0b7b5e Change invite rendering logic.
Handle link warnings on embeds.
Remove "EDIT!!" 🙏🙏🙏
2021-09-03 13:04:37 +01:00
Snazzah d8465b1aae Add trusted link handling in renderer/prompt 2021-08-30 14:08:13 +00:00
Ryan Alexander 3d0e95d25d Add external link warning 2021-08-29 09:56:20 +10:00
Jamie 2d3afdaa83
fix indentation 2021-08-23 04:42:18 -07:00
Jamie c4b881a525
Update Renderer.tsx 2021-08-23 04:38:21 -07:00