Install this version:
emerge -a =dev-python/pymdown-extensions-10.21.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/pymdown-extensions-10.21.2
Or alternatively:
emerge --autounmask-write -a =dev-python/pymdown-extensions-10.21.2
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYPI_VERIFY_REPO=https://github.com/facelessuser/pymdown-extensions
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Extensions for Python Markdown"
HOMEPAGE="
https://github.com/facelessuser/pymdown-extensions/
https://pypi.org/project/pymdown-extensions/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
RDEPEND="
>=dev-python/markdown-3.6[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/pygments-2.19.1[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
>=dev-python/markdown-3.6[] dev-python/pyyaml[]
test? ( >=dev-python/pygments-2.19.1[] )