diff --git a/website/CHANGELOG.md b/website/CHANGELOG.md index 3c2780ed..88e6b1b1 100644 --- a/website/CHANGELOG.md +++ b/website/CHANGELOG.md @@ -2,8 +2,8 @@ An attempt at documenting the changes/new features introduced in each release. --- -## Next -* 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 +## 0.2.10 +* 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) * Desktop: “Open Recent” menu to quickly reopen recently opened spaces. * Sync bug fixes and better logging (in {[Show Logs]}) diff --git a/website/Markdown/Syntax Highlighting.md b/website/Markdown/Syntax Highlighting.md new file mode 100644 index 00000000..93f74c8c --- /dev/null +++ b/website/Markdown/Syntax Highlighting.md @@ -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 + + + +``` + +```kotlin +class MyClass { + + +} +``` + +```dart +void main() { + print('Hello, World!'); +} +``` \ No newline at end of file