Commit Graph
303 Commits
Author SHA1 Message Date
d9bd8abfeb Add playground for current version (#18830)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-02-05 22:29:59 +08:00
fisker Cheung 28b9898816 Playground: Simplify settings passed to worker (#18763) 2026-01-27 19:36:56 +08:00
fisker Cheung 657ef1e119 Should format error in comments and doc panel (#18761) 2026-01-27 18:07:35 +08:00
fisker Cheung f19a0581c7 Use CDN files on website (#18545) 2025-12-30 14:14:17 +08:00
fisker Cheung c9eb4bcd9e Remove useless u flags in regular expressions (#18509) 2025-12-21 23:44:08 +08:00
fisker Cheung 97f2e81d06 Rewrite nested ternaries (#18508) 2025-12-21 18:07:47 +08:00
8a0f687f6e Refactor playground to use Vue (#18463)
Co-authored-by: fisker <172584+fisker@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-12-10 23:48:10 +08:00
renovate[bot]andfisker 20a30bb36d Update dependency oxc-parser to v0.102.0 (#18448)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-12-09 02:29:15 +08:00
fisker Cheung 0864823c52 Validate doc with __js_expression in playground (#17668) 2025-08-05 15:54:42 +08:00
fisker Cheung 4973687969 Update website build script (#17577) 2025-06-08 16:52:42 +08:00
fisker Cheungandautofix-ci[bot] 7fb9875413 Allow plugin override builtin parsers when inferring parser (#17549)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-05 17:23:49 +08:00
fisker Cheung 4df0a871ca Add hermes parser (#17520) 2025-05-29 15:30:45 +08:00
fisker Cheung 8708cc0249 Improve playground when using doc-explorer parser (#17252) 2025-03-15 13:47:43 +08:00
fisker af6e7215ce Add playground-redirect.html back to avoid HTTP 404 2025-02-27 01:36:39 +08:00
fisker Cheung 2485171a5a Build playground with Vite (#17184) 2025-02-26 15:47:40 +08:00
fisker Cheung e20d1fe82c Remove playground redirect link (#17181) 2025-02-25 09:31:29 +08:00
fisker Cheung 14fd0f6caf Use ESM version in playground (#17125) 2025-02-25 08:29:09 +08:00
fisker Cheung d1b11f1239 Lazy load plugins in playground (#17119) 2025-02-25 06:27:02 +08:00
Sosuke Suzuki cac3858a34 Bump Prettier dependency to 3.5 2025-02-09 20:39:56 +09:00
fisker Cheung 52aee0254b Remove Atom from website (#17067) 2025-02-08 17:25:42 +08:00
Lehoczky Zoltánandfisker Cheung 6a612520bc Migrate from Docusaurus 1 to Docusaurus 3 (#17043)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-01-30 10:16:21 +08:00
Aarni Koskela 08b698f924 Website: Replace syntaxfm PNGs with WEBPs (#16618) 2024-09-08 18:01:41 +08:00
imgbot[bot]andImgBotApp 0936a8fc9a [ImgBot] Optimize images (#16473)
*Total -- 7,710.03kb -> 5,984.21kb (22.38%)

/website/static/images/syntaxfm/3.png -- 1,828.84kb -> 1,401.83kb (23.35%)
/website/static/images/syntaxfm/1.png -- 1,817.79kb -> 1,405.89kb (22.66%)
/website/static/images/syntaxfm/2.png -- 2,178.50kb -> 1,697.07kb (22.1%)
/website/static/images/syntaxfm/4.png -- 1,879.64kb -> 1,474.17kb (21.57%)
/website/blog/assets/markdown-tables.gif -- 5.25kb -> 5.25kb (0.11%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2024-07-13 23:20:23 +01:00
SUZUKI Sosuke 0042c6c215 Syntax x Prettier (#16462) 2024-07-11 01:37:09 +09:00
fisker Cheung c03a12ad2b Enable require-unicode-regexp and regexp/strict rule (#16408) 2024-06-18 07:52:54 +09:00
fisker Cheung b26f56bd31 Update eslint-plugin-unicorn to v53 (#16275) 2024-06-04 09:39:19 +08:00
renovate[bot]andfisker 3670261877 chore(deps): update dependency codemirror to v5.65.16 (#16091)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2024-02-18 22:55:09 +08:00
Sosuke Suzuki eebf0e4b5e Bump Prettier dependency to 3.1.0 2023-11-13 12:00:57 +09:00
Sosuke Suzuki adf67577ee Add redirect 2023-07-05 22:21:22 +09:00
Sosuke Suzuki fa48415617 Bump Prettier dependency to 3.0.0 2023-07-05 21:50:05 +09:00
Georgii Dolzhykov 2a864e5157 Fix playground: AST is massaged for Prettier 2.x (#14852) 2023-05-25 14:33:39 +09:00
fisker Cheung b98576332a Fix playground (#14610) 2023-03-28 08:55:54 +08:00
fisker Cheung 413a76d798 Remove plugins from standalone build (#14570) 2023-03-23 15:18:10 +08:00
fisker Cheung 6c9ba400fa Bundle printers in plugins (#14354) 2023-03-13 09:20:12 +08:00
fisker Cheung b332654039 Merge branch 'main' into next
# Conflicts:
#	docs/browser.md
#	src/language-html/parser-html.js
#	src/language-js/print/jsx.js
#	src/language-js/print/typescript.js
#	website/yarn.lock
#	yarn.lock
2023-01-16 15:53:36 +08:00
c1b976572c feat: add copy to clipboard in code blocks (#14153)
* feat: add copy to clipboard in code blocks

* Use the same style as docusaurus v2

* Remove style from siteConfig.js

* Fix typo

* Disable button on copied

Co-authored-by: Tarun Chauhan <tarun.chauhan@tripjack.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2023-01-12 18:01:07 +02:00
fisker Cheung f9a71da439 Add CodeQL Analysis workflow (#13851) 2022-11-20 15:35:24 +08:00
fisker Cheung 2d23d33a40 Remove since from options and languages (#13699) 2022-10-23 11:18:36 +08:00
Georgii Dolzhykov effe30a3b8 Playground: show preprocessed AST (#13606) 2022-10-10 14:26:55 +03:00
fisker CheungandSosuke Suzuki 31a796d32c Restructure package files, add exports (#13530)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-10-06 15:20:19 +08:00
Georgii Dolzhykov 05c873f09d Playground: fix 'show doc', add folding for doc-explorer (#13336) 2022-08-22 09:25:18 +03:00
Georgii Dolzhykov 21b4045dfa Link option philosophy from the main page (#13231)
website: link Option Philosophy from the main page
2022-08-06 19:48:37 +03:00
fisker 07ac240dfb Fix 2022-08-06 11:47:29 +08:00
fisker 5daa8eba6c Merge remote-tracking branch 'remotes/upstream/main' into next
# Conflicts:
#	.gitignore
#	website/playground/PrettierFormat.js
#	website/static/worker.js
2022-08-06 11:42:33 +08:00
Georgii Dolzhykov bbbeeb07f6 Playground: "Rethrow embed errors" checkbox (#13227) 2022-08-05 17:05:50 +03:00
fisker Cheung 298347c9fb Merge branch 'main' into next
# Conflicts:
#	netlify.toml
#	src/cli/find-cache-file.js
#	src/cli/utils.js
#	src/main/parser.js
#	website/playground/PrettierFormat.js
#	website/static/worker.js
2022-08-01 11:27:34 +08:00
Georgii Dolzhykov b65cb6c1f6 Playground: doc explorer (#10183) 2022-07-23 22:46:16 +03:00
fisker Cheung 8b00726cd4 Fix v3 website (#12845) 2022-05-08 17:56:50 +08:00
fisker Cheung e14411c278 Support async parser (#12748) 2022-05-04 11:15:48 +08:00
fisker Cheung c6d6b25833 prettier.{format,formatWithCursor,check}() are now async (#12574) 2022-04-29 14:22:24 +08:00