From 2b2c14590a09ab2fb730e3bad3e06ffb7f062d64 Mon Sep 17 00:00:00 2001 From: Pradeep Gowda Date: Wed, 5 Apr 2023 23:35:35 -0400 Subject: [PATCH] fix old api usage --- .gitignore | 4 ++++ mdx_bib.py | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 9f11b75..e46617c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ .idea/ +__pycache__/ +build/ +dist/ +mdx_bib.egg-info/ diff --git a/mdx_bib.py b/mdx_bib.py index c7f9e80..c476b64 100644 --- a/mdx_bib.py +++ b/mdx_bib.py @@ -195,11 +195,11 @@ def extendMarkdown(self, md): self.parser = md.parser self.md = md - md.preprocessors.add("mdx_bib", CitationsPreprocessor(self.bib), "