diff --git a/readme.md b/readme.md index 3693ca6ff..c4972cf05 100644 --- a/readme.md +++ b/readme.md @@ -8,7 +8,7 @@ Alpha version. Tested only with jupyter 4.1.1 on OS X so far. ## Example -Example notebook output is [here](http://htmlpreview.github.com/?https://github.com/ligee/kotlin-jupyter/blob/master/samples/KotlinSample01.html). *(It is ported form [Gral](https://github.com/eseifert/gral) +Example notebook output is [here](http://htmlpreview.github.com/?https://github.com/ligee/kotlin-jupyter/blob/master/samples/KotlinSample01.html). *(It is ported from [Gral](https://github.com/eseifert/gral) project's `ConvolutionExample.java`).* The notebook itself is located in the `samples` folder. diff --git a/src/main/kotlin/org/jetbrains/kotlin/jupyter/ikotlin.kt b/src/main/kotlin/org/jetbrains/kotlin/jupyter/ikotlin.kt index ba80d069a..60eba0870 100644 --- a/src/main/kotlin/org/jetbrains/kotlin/jupyter/ikotlin.kt +++ b/src/main/kotlin/org/jetbrains/kotlin/jupyter/ikotlin.kt @@ -111,7 +111,8 @@ fun JupyterConnection.Socket.shellMessagesHandler(msg: Message, repl: ReplForJup content = jsonObject( "protocol_version" to protocolVersion, "language" to "Kotlin", - "language_version" to KotlinVersion.VERSION + "language_version" to KotlinVersion.VERSION, + "language_info" to jsonObject("name" to "kotlin", "file_extension" to "kt") ))) "history_request" -> send(makeReplyMessage(msg, "history_reply",