From 8987d66adbdbe41d015ca1039f01eba6af610f4e Mon Sep 17 00:00:00 2001 From: Vadim Nifadev <36514612+nifadyev@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:53:24 +0300 Subject: [PATCH] Add Markdownlintcli config --- .markdownlint.yaml | 15 +++++++++++++++ README.md | 1 + 2 files changed, 16 insertions(+) create mode 100644 .markdownlint.yaml diff --git a/.markdownlint.yaml b/.markdownlint.yaml new file mode 100644 index 0000000..7ebffd8 --- /dev/null +++ b/.markdownlint.yaml @@ -0,0 +1,15 @@ +# MD013/line-length +MD013: + line_length: 120 + +# no-duplicate-heading - Multiple headings with the same content (Ignore multiple `Explanation` headings) +MD024: false + +# no-trailing-punctuation - Trailing punctuation in heading (Ignore exclamation marks in headings) +MD026: false + +# no-inline-html : Inline HTML (HTML is used for centered and theme specific images) +MD033: false + +# no-inline-html : Bare URL used (site should be attributed transparently, because otherwise we have to un-necesarily explain where the link directs) +MD034: false diff --git a/README.md b/README.md index 35a9cf5..f9a7277 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@

Exploring and understanding Python through surprising snippets.

+ Translations: [Chinese 中文](https://github.com/leisurelicht/wtfpython-cn) | [Vietnamese Tiếng Việt](https://github.com/vuduclyunitn/wtfptyhon-vi) | [Spanish Español](https://web.archive.org/web/20220511161045/https://github.com/JoseDeFreitas/wtfpython-es) | [Korean 한국어](https://github.com/buttercrab/wtfpython-ko) | [Russian Русский](https://github.com/satwikkansal/wtfpython/tree/master/translations/ru-russian) | [German Deutsch](https://github.com/BenSt099/wtfpython) | [Add translation](https://github.com/satwikkansal/wtfpython/issues/new?title=Add%20translation%20for%20[LANGUAGE]&body=Expected%20time%20to%20finish:%20[X]%20weeks.%20I%27ll%20start%20working%20on%20it%20from%20[Y].) Other modes: [Interactive Website](https://wtfpython-interactive.vercel.app) | [Interactive Notebook](https://colab.research.google.com/github/satwikkansal/wtfpython/blob/master/irrelevant/wtf.ipynb)