Merge pull request #188816 from pacien/pandoc-katex-init

pandoc-katex: init at 0.1.9
This commit is contained in:
superherointj 2022-08-31 14:35:49 -03:00 committed by GitHub
commit 1f3a9c8cea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "pandoc-katex";
version = "0.1.9";
src = fetchFromGitHub {
owner = "xu-cheng";
repo = pname;
rev = version;
hash = "sha256-Sd+f1a3Y4XwSj5BupAH35UK6gQxzLy5jJCtc77R9wnM=";
};
cargoSha256 = "sha256-PVEQTzkkD6V9DqcIHznfnO1wOARSxutLApaO9dlokTQ=";
meta = with lib; {
description = "Pandoc filter to render math equations using KaTeX";
homepage = "https://github.com/xu-cheng/pandoc-katex";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ minijackson pacien ];
};
}

View file

@ -9182,6 +9182,8 @@ with pkgs;
pandoc-drawio-filter = python3Packages.callPackage ../tools/misc/pandoc-drawio-filter { };
pandoc-katex = callPackage ../tools/misc/pandoc-katex { };
pandoc-plantuml-filter = python3Packages.callPackage ../tools/misc/pandoc-plantuml-filter { };
# pandoc-*nos is a filter suite, where pandoc-xnos has all functionality and the others are used for only specific functionality