A third-party project converted an official XML source of German laws to Markdown documents, but the repo is a bit dormant:

- https://okfn.de/en/projekte/bundesgit

- https://github.com/bundestag/gesetze