mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-04 10:06:13 +02:00
docs: Create a markdown-it plugin
This commit is contained in:
parent
6665521525
commit
cab2a30ae1
12 changed files with 751 additions and 0 deletions
30
docs/gfm-alerts-to-admonitions/default.nix
Normal file
30
docs/gfm-alerts-to-admonitions/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
buildPythonPackage,
|
||||
pytestCheckHook,
|
||||
markdown-it-py,
|
||||
lib,
|
||||
setuptools,
|
||||
pytest-regressions,
|
||||
}:
|
||||
buildPythonPackage {
|
||||
pname = "gfm-alerts-to-admonitions";
|
||||
version = "0.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = ./.;
|
||||
|
||||
build-system = [ setuptools ];
|
||||
dependencies = [ markdown-it-py ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-regressions
|
||||
];
|
||||
pythonImportsCheck = [ "gfm_alerts_to_admonitions" ];
|
||||
|
||||
meta = {
|
||||
description = "Transform GFM alerts to nixos-render-docs admonitions";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.traxys ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue