From 014c12106f67ec8578e3c30cc622b43f9e741fc9 Mon Sep 17 00:00:00 2001 From: Alexander Prendota Date: Tue, 18 Sep 2018 12:37:41 +0300 Subject: [PATCH] add kotlin-playground styles to PLATFORM.md (#2081) --- PLATFORM_LIBS.md | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/PLATFORM_LIBS.md b/PLATFORM_LIBS.md index b470a9299f1..5dd8ad67598 100644 --- a/PLATFORM_LIBS.md +++ b/PLATFORM_LIBS.md @@ -14,7 +14,13 @@ to platform's implementation of `POSIX` standard. To use the library just - import platform.posix.* +
+ +```kotlin +import platform.posix.* +``` + +
The only target for which it is not available is [WebAssembly](https://en.wikipedia.org/wiki/WebAssembly). @@ -28,15 +34,21 @@ We've gone a little further and provided access to more specific native OS services. One needs to import the proper packages on each of the platform. Choose what matches your target platform: - import platform.osx.* +
- import platform.linux.* +```kotlin +import platform.osx.* - import platform.windows.* +import platform.linux.* - import platform.android.* +import platform.windows.* - import platform.ios.* +import platform.android.* + +import platform.ios.* +``` + +
### Popular native libraries