Legal Informatics reports that German Federal Laws and Regulations are available in Markdown.
A useful resource if you have legal resources to make good use of it.
I would not advise self-help based on a Google translation of any of these materials.