Commit graph

96 commits

Author SHA1 Message Date
yflory
d571822adf Fix mermaid dark/light themes 2021-02-09 17:44:38 +01:00
yflory
d72e7cf8c2 Fix codemirror dracula 2021-02-09 13:32:09 +01:00
yflory
1542ca4878 Highlight.js dark theme 2021-02-09 10:29:39 +01:00
yflory
37beedbe96 Mermaid dark theme 2021-02-03 12:35:57 +01:00
yflory
c29219c969 Fix restrictedTags regex 2020-12-08 13:41:29 +01:00
yflory
69664dc0ef Only allow blob URLs in restricted tags 2020-12-07 11:26:08 +01:00
yflory
656c81b437 Fix duplicate mediatags issues in code and slide 2020-12-02 17:01:43 +01:00
yflory
004c242f63 Fix duplicate mediatag issues 2020-11-30 17:19:13 +01:00
yflory
396eb4d263 Stop autodownloading big mediatags 2020-11-24 16:38:31 +01:00
yflory
8fcc119b91 Add support for Rust syntax highlighting 2020-09-17 17:48:02 +02:00
ansuz
2b8540552c don't open the lightbox in code preview when you ctrl-click 2020-07-15 12:05:36 -04:00
ansuz
6a1844cac7 avoid passing whitespace to markmap or mathjax 2020-07-08 13:37:30 -04:00
ansuz
59185d7088 improve caching logic for markdown extensions
support duplicated items with the same source
2020-07-06 15:26:41 -04:00
ansuz
b5a18e8e09 force redraw for asynchronously rendered plugin content 2020-07-03 17:38:00 -04:00
ansuz
f7529d2908 address some race conditions when rendering multiple elements 2020-07-03 15:35:49 -04:00
ansuz
a528d857a7 lazily load assets for mermaid, mathjax, and markmap 2020-07-03 15:04:34 -04:00
yflory
81cb7d2bb3 lint compliance 2020-07-02 16:06:20 +02:00
yflory
bacd0c18d5 Make mathjax and markmap non-blocking 2020-07-02 15:30:03 +02:00
yflory
93ce3f5a83 Deduplicate code and fix preview modal 2020-07-02 15:04:54 +02:00
Ludovic Dubost
592b32ed23 Added support for markmap - adding mindmaps in code pad 2020-06-29 09:54:20 +02:00
Ludovic Dubost
56473930cd Adding mathjax svg rendering in code pad 2020-06-27 14:40:15 +02:00
ansuz
ddd12bfd7a remove grey style from mermaid flowcharts 2020-04-30 16:48:49 -04:00
yflory
440980c4af Display preview with a single click 2020-04-21 16:40:19 +02:00
yflory
ca9f874afb Redraw mermaid on preview 2020-04-20 11:09:46 +02:00
yflory
1dee2fd13c Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2020-04-15 16:07:29 +02:00
yflory
f83179cb62 Fix mediatag cache preventing preview modal 2020-04-15 16:07:18 +02:00
ansuz
9a7681dc5d add a note about handling syntax errors in mermaid 2020-04-14 15:18:20 -04:00
ansuz
ca2dc85b34 reduce eye-bleed with gentler styles for mermaid charts 2020-04-14 15:17:41 -04:00
yflory
9da47ebac9 lint compliance 2020-04-06 13:22:22 +02:00
yflory
175ee492a5 Merge branch 'staging' into lightbox 2020-04-06 11:43:13 +02:00
yflory
35394476a6 Improve scrollbars and modal size 2020-04-06 11:42:47 +02:00
yflory
7ca45eac72 Add preview for mermaid graphs in code 2020-04-03 15:01:52 +02:00
yflory
3bc32f6085 Start at the correct index when previewing multiple mediatags 2020-04-03 12:32:25 +02:00
ansuz
2daf759299 remove clickable items from rendered mermaid 2020-04-02 15:39:55 -04:00
yflory
572db00987 Preview multiple mediatags 2020-04-01 12:04:31 +02:00
yflory
6a10ec711a Preview mediatag in the drive and in diffMarked 2020-03-31 16:43:00 +02:00
yflory
7047abe407 Fix cache issues with mermaid 2020-03-27 17:25:45 +01:00
yflory
9a4da6e6e0 Remove console log 2020-03-27 13:58:53 +01:00
yflory
6cde052a46 Update mermaid 2020-03-27 13:54:43 +01:00
yflory
a13561eb8d Fix checkboxes in the markdown renderer #511 2020-03-20 13:45:45 +01:00
ansuz
e26ed7bb83 fix mermaid scroll jank 2020-03-06 14:21:56 -05:00
yflory
2060223edb Remove tippy in TOC 2020-01-30 17:12:17 +01:00
ansuz
62c50d9e23 avoid redrawing mermaid graphs which have not changed 2019-12-05 17:41:54 -05:00
ansuz
ff67f8381b oops, I really should have linted before pushing... 2019-12-02 13:10:38 -05:00
ansuz
e7447008ce enable more mermaid modes 2019-12-02 13:08:33 -05:00
ansuz
e39257672c enable gantt chart rendering in rendered markdown 2019-12-02 11:27:13 -05:00
yflory
7bd4a4028b Fix fileHost again... 2019-08-27 15:31:22 +02:00
ansuz
4e02135230
Merge pull request #417 from xwiki-labs/stripTag
Strip tags
2019-08-08 17:23:17 +02:00
ClemDee
5679dd9fee Clean code 2019-08-08 16:34:56 +02:00
ClemDee
a204740ac2 Fix one annoying missing semicolon 2019-07-25 11:50:19 +02:00