mirror of
https://github.com/actionbook/actionbook.git
synced 2026-09-19 03:28:06 +08:00
949bef6398
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1010 B
1010 B
@actionbookdev/json-ui
0.3.0
Minor Changes
-
#164
8f85d69Thanks @ZhangHanDong! - Add syntax highlighting, code wrapping, and language switcher control- Add
showLanguageSwitcherprop to Report component for controlling language toggle visibility - Fix markdown code block rendering to support ```lang syntax
- Integrate Prism.js for syntax highlighting with support for 9 languages (Rust, JavaScript, TypeScript, Python, Bash, JSON, YAML, TOML, Markdown)
- Add automatic theme switching for syntax highlighting (light/dark modes)
- Enable code wrapping with
white-space: pre-wrapfor better mobile readability - Add enhanced CSS styling for code blocks with proper borders, backgrounds, and spacing
- Add SRI (Subresource Integrity) hashes to all Prism.js CDN resources for supply chain security
- Add