Skip to content

Commit 40e6742

Browse files
authored
Merge pull request #51 from qianmoQ/dev-25.0.3
feat (language): 支持 PHP 语言
2 parents e4410cb + 621278a commit 40e6742

File tree

8 files changed

+510
-24
lines changed

8 files changed

+510
-24
lines changed

README.md

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -22,30 +22,32 @@ CodeForge 是一款轻量级、高性能的桌面代码执行器,专为开发
2222

2323
## 支持的语言
2424

25-
- **AppleScript**
26-
- **C**
27-
- **Clojure**
28-
- **C++**
29-
- **CSS**
30-
- **Go**
31-
- **Groovy**
32-
- **HTML**
33-
- **Java**
34-
- **JavaScript (Browser)**
35-
- **JavaScript (jQuery)**
36-
- **JavaScript (Node.js)**
37-
- **Kotlin**
38-
- **Node.js**
39-
- **Python 2**
40-
- **Python 3**
41-
- **Ruby**
42-
- **Rust**
43-
- **Shell**
44-
- **SVG**
45-
- **Swift**
46-
- **TypeScript**
47-
- **TypeScript (Browser)**
48-
- **TypeScript (Node.js)**
25+
<div style="display: flex; align-items: center; justify-content: center;">
26+
<img src="public/icons/c.svg" width="60" alt="C">
27+
<img src="public/icons/clojure.svg" width="60" alt="Clojure">
28+
<img src="public/icons/cpp.svg" width="60" alt="C++">
29+
<img src="public/icons/css.svg" width="60" alt="CSS">
30+
<img src="public/icons/go.svg" width="60" alt="Go">
31+
<img src="public/icons/groovy.svg" width="60" alt="Groovy">
32+
<img src="public/icons/html.svg" width="60" alt="HTML">
33+
<img src="public/icons/java.svg" width="60" alt="Java">
34+
<img src="public/icons/javascript-browser.svg" width="60" alt="JavaScript (Browser)">
35+
<img src="public/icons/javascript-jquery.svg" width="60" alt="JavaScript (jQuery)">
36+
<img src="public/icons/nodejs.svg" width="60" alt="JavaScript (Node.js)">
37+
<img src="public/icons/kotlin.svg" width="60" alt="Kotlin">
38+
<img src="public/icons/nodejs.svg" width="60" alt="Node.js">
39+
<img src="public/icons/php.svg" width="60" alt="PHP">
40+
<img src="public/icons/python.svg" width="60" alt="Python 2">
41+
<img src="public/icons/python.svg" width="60" alt="Python 3">
42+
<img src="public/icons/ruby.svg" width="60" alt="Ruby">
43+
<img src="public/icons/rust.svg" width="60" alt="Rust">
44+
<img src="public/icons/shell.svg" width="60" alt="Shell">
45+
<img src="public/icons/svg.svg" width="60" alt="SVG">
46+
<img src="public/icons/swift.svg" width="60" alt="Swift">
47+
<img src="public/icons/typescript.svg" width="60" alt="TypeScript">
48+
<img src="public/icons/typescript-browser.svg" width="60" alt="TypeScript (Browser)">
49+
<img src="public/icons/typescript-nodejs.svg" width="60" alt="TypeScript (Node.js)">
50+
</div>
4951

5052
## 安装
5153

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"@codemirror/lang-html": "^6.4.9",
1818
"@codemirror/lang-java": "^6.0.2",
1919
"@codemirror/lang-javascript": "^6.2.4",
20+
"@codemirror/lang-php": "^6.0.2",
2021
"@codemirror/lang-python": "^6.2.1",
2122
"@codemirror/lang-rust": "^6.0.2",
2223
"@codemirror/lang-xml": "^6.1.0",

public/icons/php.svg

Lines changed: 18 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)