diff --git a/pyproject.toml b/pyproject.toml
index 9883c255a43ed8c6b9b75697273d58a5c8a78655..8b0e96577720e0b536b498921486c5c2b3d52479 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -66,7 +66,7 @@
     package-dir = {"" = "src"}
 
 [tool.setuptools.dynamic]
-    readme = {file = "README.md"}
+    readme = {file = "README.md", content-type = "text/markdown"}
 
 [project.entry-points."bob.bio.config"]
     # protocols (must be specified before the database in the cmd)