From 0ab045241478f298897732f610a29ebe234dea51 Mon Sep 17 00:00:00 2001 From: AlexVonB Date: Wed, 17 Nov 2021 17:08:14 +0100 Subject: [PATCH] add readme for code_language --- README.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.rst b/README.rst index bdd070a..447df4a 100644 --- a/README.rst +++ b/README.rst @@ -96,6 +96,12 @@ newline_style newline). While the latter convention is non-standard, it is commonly preferred and supported by a lot of interpreters. +code_language + Defines the language that should be assumed for all ``
`` sections.
+  Useful, if all code on a page is in the same programming language and
+  should be annotated with ``\`\`\`python`` or similar.
+  Defaults to ``''`` (empty string).
+
 Options may be specified as kwargs to the ``markdownify`` function, or as a
 nested ``Options`` class in ``MarkdownConverter`` subclasses.