Skip to content

Commit 10eccb0

Browse files
committed
fix(cosmetic): don't use semantically wrong code type
Even though in some cases the syntax-highlighting (e.g. for comments) might look good enough, in other cases it produces completely inconsistent results (e.g. keywords) and is also semantically wrong. As long as there is no syntax-highlighting support for KCL, just use plain-text. Signed-off-by: Elias Probst <[email protected]>
1 parent 3cf12fa commit 10eccb0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/reference/lang/spec/kcl-spec.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description: KCL Spec
1212

1313
The following are the keywords of the KCL:
1414

15-
```python
15+
```
1616
True False None Undefined import
1717
and or in is not
1818
as if else elif for
@@ -23,7 +23,7 @@ rule
2323

2424
The following are reserved words for the KCL:
2525

26-
```python
26+
```
2727
pass return validate rule flow
2828
def del raise except try
2929
finally while from with yield
@@ -32,13 +32,13 @@ global nonlocal struct class final
3232

3333
### Line comment
3434

35-
```python
35+
```
3636
# a comment
3737
```
3838

3939
### Operators
4040

41-
```python
41+
```
4242
+ - * ** / // %
4343
<< >> & | ^ < >
4444
~ <= >= == != =
@@ -48,7 +48,7 @@ global nonlocal struct class final
4848

4949
### Delimiters
5050

51-
```python
51+
```
5252
( ) [ ] { }
5353
, : . ; @
5454
```

0 commit comments

Comments
 (0)