Skip to content

Commit

Permalink
Added python syntax highlight in docs for blueprints page
Browse files Browse the repository at this point in the history
  • Loading branch information
jottyVlad committed Nov 21, 2021
1 parent 8f7ba34 commit a0d0591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/blueprints.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

В одном файле можно описать блупринт:

```
```python
from enjalice.routers import Blueprint
from enjalice.request import AliceRequest
from enjalice.response import text
Expand All @@ -23,7 +23,7 @@ async def help_handler(_: AliceRequest):

А в другом написать реализацию диспетчера, зарегистрировав блупринт.

```
```python
from blueprint import bp
from enjalice.routers import Dispatcher
from enjalice.request import AliceRequest
Expand Down

0 comments on commit a0d0591

Please sign in to comment.