From 26d00333b0eeb55259e2bd30d1a9df5756a82762 Mon Sep 17 00:00:00 2001 From: ning <48249362+nzhangac@users.noreply.github.com> Date: Tue, 4 May 2021 17:13:15 +0800 Subject: [PATCH] Changed pymdownx.inline to pymdownx-inline (#2633) Co-authored-by: r4c12 --- docs/reference/code-blocks.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/code-blocks.md b/docs/reference/code-blocks.md index d622b2c6e..eebd4ca94 100644 --- a/docs/reference/code-blocks.md +++ b/docs/reference/code-blocks.md @@ -91,18 +91,18 @@ configuring syntax highlighting of code blocks: : :octicons-milestone-24: Default: `table` – The Highlight extension provides three ways to add line numbers, all of which are supported by Material for MkDocs. While `table` wraps a code block in a table, `inline` and - `pymdownx.inline` render line numbers as part of the line itself: + `pymdownx-inline` render line numbers as part of the line itself: ``` yaml markdown_extensions: - pymdownx.highlight: - linenums_style: pymdownx.inline + linenums_style: pymdownx-inline ``` Note that `inline` will put line numbers next to the actual code, which means that they will be included when selecting text with the cursor or copying a code block to the clipboard. Thus, the usage of `table` or - `pymdownx.inline` is recommended. + `pymdownx-inline` is recommended. _Material for MkDocs doesn't provide official support for the other options of this extension, so they may be supported but might yield unexpected results.