Changelog
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
SilverBullet comes with syntax highlighters for various programming languages. This page demonstrates some:
|
||||
|
||||
```yaml
|
||||
name: Pete
|
||||
```
|
||||
|
||||
```javascript
|
||||
function myFunc() {
|
||||
console.log("Hello World!");
|
||||
}
|
||||
```
|
||||
|
||||
```typescript
|
||||
function myFunc(name: string) {
|
||||
console.log("Hello", name);
|
||||
}
|
||||
```
|
||||
|
||||
```sql
|
||||
select * from my_table;
|
||||
```
|
||||
|
||||
```c++
|
||||
class MyClass {
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
```rust
|
||||
fn main() {
|
||||
// Print text to the console
|
||||
println!("Hello World!");
|
||||
}
|
||||
```
|
||||
|
||||
```swift
|
||||
fn myFun() {
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
```xml
|
||||
<MyTag attribute="cool">
|
||||
|
||||
</MyTag>
|
||||
```
|
||||
|
||||
```kotlin
|
||||
class MyClass {
|
||||
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
```dart
|
||||
void main() {
|
||||
print('Hello, World!');
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user