Skip to content

Commit ffc89f1

Browse files
committed
Fix formatting of triple backticks within code
1 parent 92a7a10 commit ffc89f1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ Sometimes (especially with weaker LMs), the LM will not properly format it's act
495495
It's good to remind it about the correct way in that case:
496496
This should be very straightforward now that we have the general exception handling in place:
497497

498-
```python
498+
````python
499499
incorrect_format_message = """Your output was malformated.
500500
Please include exactly 1 action formatted as in the following example:
501501
@@ -508,9 +508,9 @@ class FormatError(RuntimeError): ...
508508
def parse_action(action: str) -> str:
509509
matches = ...
510510
if not len(matches) == 1:
511-
raise FormatError(incorrect_format_message)
511+
raise FormatError(incorrect_format_message)
512512
...
513-
```
513+
````
514514

515515
### Environment variables
516516

0 commit comments

Comments
 (0)