mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 17:27:49 +08:00
sdk_style.md: updates
This commit is contained in:
parent
9a9dad4aff
commit
cadb7e19c8
@ -124,6 +124,7 @@ Syntax highlighting is applied by specifying the language after the first set of
|
|||||||
// Some XML
|
// Some XML
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
```java
|
```java
|
||||||
// Some Java code
|
// 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.
|
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.
|
The advantage is the code can come from the `code_samples` directory, so it will be live code that isn't silently stale.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user