使用 markdown 格式的强调语法

This commit is contained in:
hemengyang
2022-01-12 18:19:21 +08:00
parent 0099364838
commit 4ba1a09fb7
25 changed files with 536 additions and 536 deletions

View File

@ -27,7 +27,7 @@ class BlockDriver(Driver):
@property
@overrides(Driver)
def type(self) -> str:
"""驱动名称: ``block_driver``"""
"""驱动名称: `block_driver`"""
return "block_driver"
@property
@ -43,7 +43,7 @@ class BlockDriver(Driver):
:参数:
* ``func: Callable[[], Awaitable[None]]``
* `func: Callable[[], Awaitable[None]]`
"""
self.startup_funcs.add(func)
return func
@ -55,7 +55,7 @@ class BlockDriver(Driver):
:参数:
* ``func: Callable[[], Awaitable[None]]``
* `func: Callable[[], Awaitable[None]]`
"""
self.shutdown_funcs.add(func)
return func