This service applies syntax highlighting to source code and pseudocode in Google Docs™ and Google Slides™.
Nhà phát triển:
Đã cập nhật trang thông tin:14 tháng 8, 2026
Hoạt động với:
Chưa có bài đánh giá
Không có người dùng nào
Tổng quan
Syntax Palette is an add-on that makes code in Google Docs™ and Google Slides™ easier to read. It eliminates the tedious work of selecting individual characters to apply colors or italics manually.


■ Two Ways to Use It

Apply Formatting to Existing Code  
Select code already entered in your document, then run the add-on to apply formatting in place. This is useful for polishing existing documents such as lecture materials and assignments.

Insert New Code  
Paste code into the sidebar and run the add-on to insert it at the cursor position with formatting already applied. You can also specify the code block background and font size.


■ Programming Language Syntax Highlighting

The add-on supports C, C++, Python, and JavaScript. If no language is specified, it automatically detects the language based on the code.

The colors follow Visual Studio Code’s default themes. Both Light+ and Dark+ are available, faithfully reproducing even the distinction between control-flow keywords and declaration keywords. Strings, comments, numbers, function names, and data types are each displayed in different colors.


■ Pseudocode Typesetting

The add-on supports pseudocode notation commonly used in algorithm courses and textbooks. Because elements are distinguished using type styles rather than colors, the output is suitable for printed materials and submitted assignments.

· Variable and array names are italicized  
· Reserved words appear in bold roman type; numbers and procedure names appear in regular roman type  
· Korean explanatory text appears in regular roman type because Korean fonts do not have true italic letterforms and slanting them distorts the characters  
· The body font can be selected in the sidebar from 26 options, including Courier New, Roboto Mono, IBM Plex Mono, and Times New Roman

You can customize the list of reserved words because conventions vary between textbooks and courses. Your customized list is saved to your account and remains available the next time you open a document. Matching is case-insensitive, so `FOR`, `For`, and `for` are all recognized as the same reserved word.

Frequently used symbols are automatically converted when code is inserted.

```text
<-  →  ←
->  →  →
<=  →  ≤
>=  →  ≥
!=  →  ≠
```


■ How to Use

1. From the Extensions menu, select Syntax Palette and open the sidebar.
2. Choose a language and theme.
3. Select code in the document and apply formatting, or paste code into the sidebar and insert it.


■ Privacy

This add-on can access only the document currently open. It cannot access any other files in your Google Drive™.

All processing takes place within your Google account. Document content is neither transmitted to nor stored on external servers. The add-on does not collect usage records or analytics data.


■ Notes

Only the resulting formatting remains in the document. If you edit the code after applying formatting, the colors and italics will not update automatically, so you must run the add-on again.

Processing may take some time for very long code. Up to 60,000 characters can be processed at once.


────────────────────────────────────────────────────────

Google Docs™, Google Slides™, Google Drive™, and Google Workspace™ are trademarks of Google LLC.  
Visual Studio Code is a trademark of Microsoft Corporation.  
This add-on is not endorsed or sponsored by Google LLC.
Thông tin bổ sung
GiáKhông tính phí
Nhà phát triển
Không phải bên giao dịch
Chính sách quyền riêng tư
Điều khoản dịch vụ
Syntax Palette sẽ yêu cầu các quyền như trình bày bên dưới. Tìm hiểu thêm
Syntax Palette sẽ cần có quyền truy cập vào Tài khoản Google của bạn
Điều này sẽ cho phép Syntax Palette:
Xem và quản lý tài liệu mà ứng dụng này đã được cài đặt bên trong
Xem và quản lý bản trình bày trên Google Trang trình bày mà ứng dụng này được cài đặt
Hiển thị và chạy nội dung web bên thứ ba trong lời nhắc và thanh bên ở trong các ứng dụng của Google
Xem địa chỉ email chính cho Tài khoản Google của bạn
Xem thông tin cá nhân của bạn, bao gồm mọi thông tin cá nhân mà bạn đã đăng công khai
Bài đánh giá
Ngôn ngữ:
Sắp xếp theo:
Google không xác minh bài đánh giá hoặc điểm xếp hạng. Tìm hiểu thêm về bài đánh giá
Không có nhận xét nào
Tìm kiếm
Xóa nội dung tìm kiếm
Đóng tìm kiếm
Các ứng dụng của Google
Trình đơn chính