From b22728d55c126a0034f70c7331b6fabc4d6ad095 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Wed, 18 Aug 2021 09:49:51 +0200 Subject: Support older py-pygments (#25456) `markdown` is only supported since py-pygments@2.8.0:, see https://github.com/pygments/pygments/commit/9647d2ae506b8e05ebabe9243df707bac901a6a3 Let's allow old versions too again. --- lib/spack/docs/basic_usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/spack/docs/basic_usage.rst b/lib/spack/docs/basic_usage.rst index a4b7afe93b..38c4f42571 100644 --- a/lib/spack/docs/basic_usage.rst +++ b/lib/spack/docs/basic_usage.rst @@ -757,7 +757,7 @@ The output is colored, and written in the style of a git diff. This means that y can copy and paste it into a GitHub markdown as a code block with language "diff" and it will render nicely! Here is an example: -.. code-block:: markdown +.. code-block:: md ```diff --- zlib@1.2.11/efzjziyc3dmb5h5u5azsthgbgog5mj7g -- cgit v1.2.3-60-g2f50