%global pypi_name markdown-exec
%global source_name markdown_exec
Name: python-%{pypi_name}
Version: 1.12.1
Release: 1
Summary: Utilities to execute code blocks in Markdown files.
License: ISC
URL: https://github.com/pawamoy/markdown-exec
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
BuildRequires: python3-pdm-backend
%description
Utilities to execute code blocks in Markdown files.
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
Utilities to execute code blocks in Markdown files.
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.md
%{python3_sitelib}/markdown_exec*
%changelog
* Fri Nov 14 2025 warlock <hunan@kylinos.cn> - 1.12.1-1
- Update package with version 1.12.1
Add option to set height of Pyodide/Ace editors
Support per-file-extension icons
Always register tables extension, needed for Zensical
* Mon Apr 07 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.10.3-1
- Update package with version 1.10.3
Also escape strings printed directly to the output
Don't forget to clear "Initializing" in Pyodide output
Escape Pyodide output, improve error handling
Add lower bound to pygments-ansi-color extra
Fix emoji display in pyodide fence for themes other than Material
Drop support for Python 3.8
* Wed Oct 30 2024 liudy <liudingyao@kylinos.cn> - 1.9.3-1
- Update version to 1.9.3
- Fix patching lines in tracebacks on Python 3.13
* Tue Mar 5 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.8.0-1
- Update package with version 1.8.0
Add pyodide fence
Add ansi option to mark ANSI extra as required or not
Set MKDOCS_CONFIG_DIR environment variable to build file path relative to it
* Wed Aug 30 2023 luolu12 <luluoc@isoftstone.com> - 1.6.0-1
- Initial package.