
语言 🇨🇳 简体中文
背景
设置
使用
共享代码片段
编程社区 
代码片段共享对于那些可能频繁共享代码的社区非常有用。
这使得用户可以轻松地阅读共享的代码片段,几乎不需要额外的努力。
我们希望该功能使 FastComments 成为与编程相关的网站和 应用程序的理想选择。
支持的编程语言 
在分享代码片段时,FastComments 会尽力自动判断代码片段所使用的编程语言,以自动格式化并应用语法高亮。
FastComments 的语法高亮当前支持 39 种常见语言:
- .properties
- Apache
- config
- Bash
- C
- C#
- C++
- CSS
- CoffeeScript
- Diff
- Go
- HTML, XML
- HTTP
- JSON
- Java
- JavaScript
- Kotlin
- Less
- Lua
- Makefile
- Markdown
- Nginx
- config
- Objective-C
- PHP
- PHP Template
- Perl
- Plain text
- Python
- Python REPL
- R
- Ruby
- Rust
- SCSS
- SQL
- Shell
- Session
- Swift
- TOML and INI
- TypeScript
- Visual Basic .NET
- YAML
When sharing a code snippet in a language we don't support, it will still be rendered like code - but no syntax highlighting or reformatting will be applied.
