Changelog
parent
9cf691345f
commit
0bfe2351b4
|
@ -2,8 +2,8 @@ An attempt at documenting the changes/new features introduced in each
|
||||||
release.
|
release.
|
||||||
|
|
||||||
---
|
---
|
||||||
## Next
|
## 0.2.10
|
||||||
* Syntax highlighting for a bunch of new languages: PgSQL, Rust, CSS, Python, Protobuf, Shell, Swift, toml, XML, JSON, C, C++, Java, C#, Scala, Kotlin, ObjectiveC, ObjectiveC++ and Dart
|
* Syntax highlighting for a bunch of new languages — see [[Markdown/Syntax Highlighting]]: PgSQL, Rust, CSS, Python, Protobuf, Shell, Swift, toml, XML, JSON, C, C++, Java, C#, Scala, Kotlin, ObjectiveC, ObjectiveC++ and Dart
|
||||||
* [[Vim]] support for VIMRC (see [[Vim]] documentation)
|
* [[Vim]] support for VIMRC (see [[Vim]] documentation)
|
||||||
* Desktop: “Open Recent” menu to quickly reopen recently opened spaces.
|
* Desktop: “Open Recent” menu to quickly reopen recently opened spaces.
|
||||||
* Sync bug fixes and better logging (in {[Show Logs]})
|
* Sync bug fixes and better logging (in {[Show Logs]})
|
||||||
|
|
|
@ -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!');
|
||||||
|
}
|
||||||
|
```
|
Loading…
Reference in New Issue