Skip to content

Commit 83e5dda

Browse files
committed
Format
1 parent 4a718ef commit 83e5dda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

click_extra/sphinx.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ def check_colon_fence(app: Sphinx) -> None:
548548
<https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#code-fences-using-colons>`_
549549
is enabled for MyST.
550550
551-
:raises ConfigError: If `colon_fence` is not in `myst_enable_extensions`.
551+
:raises ConfigError: If ``colon_fence`` is not in ``myst_enable_extensions``.
552552
"""
553553
myst_extensions = getattr(app.config, "myst_enable_extensions", [])
554554
if "colon_fence" not in myst_extensions:
@@ -608,7 +608,7 @@ def replace_github_alerts(text: str) -> str | None:
608608
Identify GitHub alerts in the provided ``text`` and transform them into
609609
colon-fenced ``:::`` MyST admonitions.
610610
611-
Code blocks (fenced with ``` or ~~~, or indented with 4 spaces/tab) are
611+
Code blocks (fenced with ``` or ``~~~``, or indented with 4 spaces/tab) are
612612
detected and their content is preserved unchanged.
613613
614614
Returns ``None`` if no transformation was applied, else returns the transformed

0 commit comments

Comments
 (0)