Commit Graph

87 Commits (ae92614289342222a75a36072814ae119e554f79)

Author SHA1 Message Date
yflory 8fcc119b91 Add support for Rust syntax highlighting
ansuz 2b8540552c don't open the lightbox in code preview when you ctrl-click
ansuz 6a1844cac7 avoid passing whitespace to markmap or mathjax
ansuz 59185d7088 improve caching logic for markdown extensions
support duplicated items with the same source
ansuz b5a18e8e09 force redraw for asynchronously rendered plugin content
ansuz f7529d2908 address some race conditions when rendering multiple elements
ansuz a528d857a7 lazily load assets for mermaid, mathjax, and markmap
yflory 81cb7d2bb3 lint compliance
yflory bacd0c18d5 Make mathjax and markmap non-blocking
yflory 93ce3f5a83 Deduplicate code and fix preview modal
Ludovic Dubost 592b32ed23 Added support for markmap - adding mindmaps in code pad
Ludovic Dubost 56473930cd Adding mathjax svg rendering in code pad
ansuz ddd12bfd7a remove grey style from mermaid flowcharts
yflory 440980c4af Display preview with a single click
yflory ca9f874afb Redraw mermaid on preview
yflory 1dee2fd13c Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
yflory f83179cb62 Fix mediatag cache preventing preview modal
ansuz 9a7681dc5d add a note about handling syntax errors in mermaid
ansuz ca2dc85b34 reduce eye-bleed with gentler styles for mermaid charts
yflory 9da47ebac9 lint compliance
yflory 175ee492a5 Merge branch 'staging' into lightbox
yflory 35394476a6 Improve scrollbars and modal size
yflory 7ca45eac72 Add preview for mermaid graphs in code
yflory 3bc32f6085 Start at the correct index when previewing multiple mediatags
ansuz 2daf759299 remove clickable items from rendered mermaid
yflory 572db00987 Preview multiple mediatags
yflory 6a10ec711a Preview mediatag in the drive and in diffMarked
yflory 7047abe407 Fix cache issues with mermaid
yflory 9a4da6e6e0 Remove console log
yflory 6cde052a46 Update mermaid
yflory a13561eb8d Fix checkboxes in the markdown renderer
ansuz e26ed7bb83 fix mermaid scroll jank
yflory 2060223edb Remove tippy in TOC
ansuz 62c50d9e23 avoid redrawing mermaid graphs which have not changed
ansuz ff67f8381b oops, I really should have linted before pushing...
ansuz e7447008ce enable more mermaid modes
ansuz e39257672c enable gantt chart rendering in rendered markdown
yflory 7bd4a4028b Fix fileHost again...
ansuz 4e02135230
Merge pull request from xwiki-labs/stripTag
Strip tags
ClemDee 5679dd9fee Clean code
ClemDee a204740ac2 Fix one annoying missing semicolon
ClemDee 5cbfad3433 Fix markdown unwanted renders in chats
ClemDee 6ae5da3d10 Move stripTags function to Util
ClemDee d16aa7de8a
Remove console.logs
ClemDee 8545ed749a Fix missing semicolon
ClemDee 56d985cb83 Fix markdown link in title issue
yflory 126a379ed2 Fix mermaid css
yflory 3676a6b923 Fix highlighting in code blocks for markdown rendering
yflory 86346c567c Clean the Mermaid code and speed up load time
yflory 54a71d8049 lint compliance