Skip to content

Commit 91ab8d0

Browse files
committed
update readme
1 parent 41b7cf1 commit 91ab8d0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,21 @@ Once adding the filter to you page or project, the simplest way to use the filte
3838

3939
You can still use other attributes, and classes, to control the code blocks:
4040

41-
```{.c include="script.py" code-line-numbers="true"}
41+
```{.python include="script.py" code-line-numbers="true"}
4242
```
4343

4444
### Ranges
4545

46-
If you want to include a specific range of lines, use `startLine` and `endLine`:
46+
If you want to include a specific range of lines, use `start-line` and `end-line`:
4747

48-
```{include="script.py" startLine=35 endLine=80}
48+
```{.python include="script.py" start-line=35 end-line=80}
4949
```
5050

51-
`start-line` and `end-line` alternatives are also recognized.
52-
5351
### Dedent
5452

5553
Using the `dedent` attribute, you can have whitespaces removed on each line, where possible (non-whitespace character will not be removed even if they occur
5654
in the dedent area).
5755

58-
```{include="script.py" dedent=4}
56+
```{.python include="script.py" dedent=4}
5957
```
6058

0 commit comments

Comments
 (0)