summaryrefslogtreecommitdiff
path: root/packages/markdown-figure/setup.py
diff options
context:
space:
mode:
authorDennis Fink2026-07-23 00:19:28 +0200
committerDennis Fink2026-07-23 00:19:28 +0200
commit2fc36e151300550b155fe37713429e365e8ec776 (patch)
tree9eebd7f759227f301fb780a390cfd41f87b5ff15 /packages/markdown-figure/setup.py
parent1fe1d13c600b7dfe421b3b99b833b7d5d1232724 (diff)
downloaddennisfink.me-2fc36e151300550b155fe37713429e365e8ec776.tar.gz
dennisfink.me-2fc36e151300550b155fe37713429e365e8ec776.zip
Add Markdown figure support
This adds a project-local Markdown figure plugin so blog posts can use semantic `<figure>` blocks with arbitrary CSS classes, optional captions, and Markdown inside captions. The image CSS is also updated so figures share the existing width, breakout, float, centering, and rounded-image utilities while keeping captions styled and spaced consistently with the rest of the article layout.
Diffstat (limited to 'packages/markdown-figure/setup.py')
-rw-r--r--packages/markdown-figure/setup.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/markdown-figure/setup.py b/packages/markdown-figure/setup.py
new file mode 100644
index 0000000..a81f66e
--- /dev/null
+++ b/packages/markdown-figure/setup.py
@@ -0,0 +1,13 @@
+from setuptools import setup
+
+setup(
+ name="lektor-markdown-figure",
+ version="0.1.0",
+ py_modules=["lektor_markdown_figure"],
+ entry_points={
+ "lektor.plugins": [
+ "markdown-figure = lektor_markdown_figure:MarkdownFigurePlugin",
+ ]
+ },
+ install_requires=[],
+)