From cadb7e19c81d35895924f25ede19f9665f1ff48a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Thu, 14 Jan 2021 17:57:15 +0100 Subject: [PATCH] sdk_style.md: updates --- topics/intro/sdk_style.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/topics/intro/sdk_style.md b/topics/intro/sdk_style.md index 0cfbf026c..c29c51fb5 100644 --- a/topics/intro/sdk_style.md +++ b/topics/intro/sdk_style.md @@ -123,6 +123,7 @@ Syntax highlighting is applied by specifying the language after the first set of ```xml // Some XML ``` + ```java // Some Java code @@ -136,9 +137,7 @@ Here is the list of [supported languages](https://github.com/jneen/rouge/wiki/Li Whole files can be imported on a page using `src` attribute after code fences specifying the full path relative to `code_samples` root folder. - ```java - ``` - {src="simple_language_plugin/src/main/java/org/intellij/sdk/language/SimpleFoldingBuilder.java"} + `{src="simple_language_plugin/src/main/java/org/intellij/sdk/language/SimpleFoldingBuilder.java"}` The advantage is the code can come from the `code_samples` directory, so it will be live code that isn't silently stale.