From 82913e45e95243c284cf48d710ee3d10014606a3 Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Wed, 16 Apr 2025 11:29:24 +0200
Subject: [PATCH] Remove <center> blocks around markdown in html, which broke
 the feature

Happening since markdown v3.8
https://github.com/squidfunk/mkdocs-material/issues/8163
---
 docs/blog/posts/v0.5.0.md           |  2 --
 docs/blog/posts/v0.6.0.md           |  2 --
 docs/blog/posts/v0.7.0.md           |  6 ------
 docs/blog/posts/v0.8.0.md           |  2 --
 docs/contributing/documentation.md  |  2 --
 docs/contributing/index.md          | 11 +----------
 docs/contributing/install_poetry.md |  2 --
 docs/usage/deathreaper.md           |  2 --
 8 files changed, 1 insertion(+), 28 deletions(-)

diff --git a/docs/blog/posts/v0.5.0.md b/docs/blog/posts/v0.5.0.md
index ecbdbc7e..d401bf40 100644
--- a/docs/blog/posts/v0.5.0.md
+++ b/docs/blog/posts/v0.5.0.md
@@ -11,9 +11,7 @@ categories:
 
 For the [eleventh Libre Currency Meeting (RML)](https://rml.creationmonetaire.info/), I am pleased to announce Silkaj v0.5.0 release.
 
-<center>
 ![](../../images/silkaj_logo.png){ width="200" }
-</center>
 
 This new release comes with the long awaited certification feature, `wot` command now displays expiration dates of certifications, a new logo, and the repository migration to GitLab. This release includes 35 new commits done during four months of developments.
 
diff --git a/docs/blog/posts/v0.6.0.md b/docs/blog/posts/v0.6.0.md
index 6c3bea69..75054e0b 100644
--- a/docs/blog/posts/v0.6.0.md
+++ b/docs/blog/posts/v0.6.0.md
@@ -183,9 +183,7 @@ silkaj about
 
 ## Logo
 
-<center>
 ![](../../images/silkaj_logo.png){ width="200" }
-</center>
 
 Silkaj’s logo, designed by Attilax, is now [fully funded](https://gannonce.duniter.org/#/announce/d82696ce-03f5-4e13-9316-20c94f00f76d)!
 
diff --git a/docs/blog/posts/v0.7.0.md b/docs/blog/posts/v0.7.0.md
index a7d3fe13..486966ba 100644
--- a/docs/blog/posts/v0.7.0.md
+++ b/docs/blog/posts/v0.7.0.md
@@ -19,9 +19,7 @@ Those two migrations bring few new features as the goal was to migrate to better
 
 ## DuniterPy migration
 
-<center>
 ![](../../images/duniterpy_logo.png){ width="150" }
-</center>
 
 [DuniterPy](https://git.duniter.org/clients/python/duniterpy) is a Python library which implements methods to request from and send information to the Duniter nodes. It also has authentication methods to sign documents such as transactions and certifications. DuniterPy was initially written for the Sakia client. Silkaj and Sakia are now sharing the same common code. The migration to DuniterPy was tough, but it was worth it: It will allow the implementation of new features in future versions.
 
@@ -31,9 +29,7 @@ Check-out [DuniterPy versions from v0.50.0 to v0.54.1](https://forum.duniter.org
 
 ## Click migration
 
-<center>
 [![](../../images/click_logo.png){ width="200" }](https://click.palletsprojects.com/)
-</center>
 
 Since Debian Buster freeze was going to happen very soon and [`commandlines`](https://github.com/chrissimpkins/commandlines) library wasn’t packaged into Debian, the migration to [Click](https://click.palletsprojects.com/) “_Command Line Interface Creation Kit_” had to be done quickly. I decided to migrate to this really nice library, since it is much more maintained, comes with a better code, and is less buggy. Here you can see the new command line interface:
 
@@ -151,9 +147,7 @@ Current balance: 17296.86 Ğ1, 1717.66 UD Ğ1 on the 2019-05-12 13:32:30
 
 ## Debian and Ubuntu package
 
-<center>
 [![](../../images/debian_logo.svg){ width="100" }](https://packages.debian.org/buster/silkaj)
-</center>
 
 Silkaj v0.6.5 was packaged for Debian Buster v10, which is planned te be released on July 6th 2019. This package greatly benefits all Debian-based distributions. Moreover, Silkaj was also added into Ubuntu 19.04 repository, which was published on March 2019. For more details check-out [where Silkaj was included into the Debian-based distributions](https://repology.org/project/silkaj/versions). Silkaj v0.6.5 now comes with Click migration, auto-completion, and bug fixes, however it does not include DuniterPy migration and v0.7.0 features.
 
diff --git a/docs/blog/posts/v0.8.0.md b/docs/blog/posts/v0.8.0.md
index e5dd2150..49aab976 100644
--- a/docs/blog/posts/v0.8.0.md
+++ b/docs/blog/posts/v0.8.0.md
@@ -201,9 +201,7 @@ Within 0-342803 range, blocks with a wrong signature: 15144 31202 85448 87566 90
 
 ### A. Poetry
 
-<center>
 ![Poetry logo](../../images/poetry-logo.svg){: style="height:120px;width:120px"}
-</center>
 
 We migrated the packaging and the dependency management tool from Pipenv to Poetry since Pipenv has been quite problematic recently and is also more suitable for larger projects.
 
diff --git a/docs/contributing/documentation.md b/docs/contributing/documentation.md
index b99e1d2b..cf3359b6 100644
--- a/docs/contributing/documentation.md
+++ b/docs/contributing/documentation.md
@@ -1,8 +1,6 @@
 # Documentation contribution
 
-<center>
 ![MkDocs Material icon](../images/mkdocs-material-favicon.png)
-</center>
 
 The project documentation website is based on [MkDocs framework](https://www.mkdocs.org/) and on following theme and plugins:
 
diff --git a/docs/contributing/index.md b/docs/contributing/index.md
index c8e03cd1..06c6221f 100644
--- a/docs/contributing/index.md
+++ b/docs/contributing/index.md
@@ -22,9 +22,7 @@ Dependencies will be installed in it in order to have Silkaj running and to have
 
 ## Developing with DuniterPy
 
-<center>
 [![DuniterPy logo](../images/duniterpy_logo.png){: style="height:150px;width:150px"}](https://git.duniter.org/clients/python/duniterpy)
-</center>
 
 [DuniterPy](https://git.duniter.org/clients/python/duniterpy) is a Python library for Duniter v1 clients.
 It implements a client with multiple APIs, the handling for document signing.
@@ -59,9 +57,7 @@ Please read their documentations on how to use them the best possible.
 
 ## Pre-commit hooks
 
-<center>
 [![Pre-commit logo](../images/pre-commit_logo.svg){: style="height:150px;width:150px"}](https://pre-commit.com/)
-</center>
 
 We are using [`pre-commit`](https://pre-commit.com/) tool to perform checks on staged changes before committing.
 We are using it for `black` formatting, `mypy` static typing, `gitlab-ci` linting.
@@ -123,9 +119,7 @@ Check out [duniterpy#169](https://git.duniter.org/clients/python/duniterpy/-/iss
 
 ## Tests
 
-<center>
 [![Pytest logo](../images/pytest_logo.svg){: style="height:150px;width:150px"}](https://pytest.org)
-</center>
 
 We are using [Pytest](https://pytest.org) as a tests framework. For more information on how Silkaj implements them check the [testing documentation](./testing.md).
 
@@ -180,9 +174,7 @@ Only difference is to update the year in `license_header.txt` rather than `LICEN
 
 ## PyPI and PyPI test distributions
 
-<center>
 [![PyPI logo](../images/pypi_logo.svg){: style="height:150px;width:150px"}](https://pypi.org/project/silkaj)
-</center>
 
 Silkaj is distributed to PyPI, the Python Package Index, for further `pip` installation.
 Silkaj can be published to [PyPI](https://pypi.org/project/silkaj) or to [PyPI test](https://test.pypi.org/project/silkaj/) for testing purposes.
@@ -217,9 +209,8 @@ The `--extra-index-url` is used to retrieve dependencies packages from the offic
 
 ## Continuous integration and delivery
 
-<center>
 ![GitLab logo](../images/GitLab_icon.svg){: style="height:100px;width:100px"}
-</center>
+
 ### Own built Docker images
 
 Silkaj pipeline is running images built on top of official Python images based on latest Debian with Poetry installed on top them.
diff --git a/docs/contributing/install_poetry.md b/docs/contributing/install_poetry.md
index 051b85d4..2be006f7 100644
--- a/docs/contributing/install_poetry.md
+++ b/docs/contributing/install_poetry.md
@@ -1,6 +1,4 @@
-<center>
 ![Poetry logo](../images/poetry-logo.svg){: style="height:120px;width:120px"}
-</center>
 
 ## Install Silkaj in a development environement with Poetry
 
diff --git a/docs/usage/deathreaper.md b/docs/usage/deathreaper.md
index 781b0098..a6582bca 100644
--- a/docs/usage/deathreaper.md
+++ b/docs/usage/deathreaper.md
@@ -1,8 +1,6 @@
 # DeathReaper
 
-<center>
 ![DeathReaper logo](../images/deathreaper_logo.svg)
-</center>
 
 DeathReaper is a service reporting Web of Trust exclusions on [Discourse forums](https://www.discourse.org/).
 Images are created containing Silkaj + DeathReaper.
-- 
GitLab