You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
silverwind 616146f904
Various Mermaid improvements (#18776)
* Various Mermaid improvments

- Render into iframe for improved security
- Use built-in dark theme instead of color inversion
- Remove flexbox attributes, resulting in more consistent size rendering
- Update API usage and update to latest version

* restart ci

* misc tweaks

* remove unneccesary declaration

* make it work without allow-same-origin, add loading=lazy

* remove loading attribute, does not seem to work

* rename variable

* skip roundtrip to DOM for rendering

* don't guess chart height

* update comment to make it clear it's intentional

* tweak

* replace deprecated 'scrolling' property

* remove unused css file

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2 years ago
..
components Add apply-patch, basic revert and cherry-pick functionality (#17902) 2 years ago
features Fix source code line highlighting (#18729) 2 years ago
markup Various Mermaid improvements (#18776) 2 years ago
standalone Add new JS linter rules (#17699) 3 years ago
vendor Restore Accessibility for Dropdown (#16576) 3 years ago
index.js Use explicit jQuery import, remove unused eslint globals (#18435) 2 years ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 4 years ago
publicpath.js Frontend refactor, PascalCase to camelCase, remove unused code (#17365) 3 years ago
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 4 years ago
svg.js Add copy button to markdown code blocks (#17638) 3 years ago
svg.test.js Add copy button to markdown code blocks (#17638) 3 years ago
utils.js Detect dark theme via css variable (#17800) 3 years ago
utils.test.js Fix context popup error (#17398) 3 years ago