From 3fb5c23aa5a6ee277af0fe1975a9d20e6fa8a802 Mon Sep 17 00:00:00 2001 From: richelbilderbeek Date: Mon, 19 Aug 2024 11:14:21 +0200 Subject: [PATCH] Fix markdown --- CONTRIBUTING.md | 12 ++++++++---- docs/morning_session/lecture.md | 8 +++----- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b429600..9be4122 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,24 +4,28 @@ Thanks for considering to contribute and reading this! Here we discuss how to contribute -- [Spoken text](#spoken-text), e.g. ideas, feedback, messages, etc. and are written in English. +- [Spoken text](#spoken-text), e.g. ideas, feedback, messages, etc. + and are written in English. - [Code](#code), e.g. textual changes where the text is formatted in Markdown ## Spoken text Spoken text are ideas, feedback, messages, etc. and are written in English. -For ideas or feedback, create an [Issue](https://github.com/UPPMAX/uppmax_intro_python/issues). +For ideas or feedback, create an +[Issue](https://github.com/UPPMAX/uppmax_intro_python/issues). These Issues will be discussed in a meeting and/or below that Issue. -Ideas that improve the experience of UPPMAX users trying to use our resources will likely be accepted. +Ideas that improve the experience of our learners +will likely be accepted. ## Code We welcome any contribution that: - improves the experience of our learners -- follow all standards set by the continuous integration tools (e.g. use 4 spaces for indentation) +- follow all standards set by the continuous integration tools + (e.g. use 4 spaces for indentation) As an UPPMAX contributor, one can contribute by: diff --git a/docs/morning_session/lecture.md b/docs/morning_session/lecture.md index 21923d5..865ed07 100644 --- a/docs/morning_session/lecture.md +++ b/docs/morning_session/lecture.md @@ -363,6 +363,7 @@ with single or double quotes. We can actually several of the same operations we used for the numeric data type on strings. + !!! example "String operations" @@ -415,8 +416,6 @@ type on strings. Notice also that a string object has many associated methods. Try using the `.`-notation to access methods (and attributes) by pressing `tab`. - - ```python In [3]: greeting1. capitalize() endswith() index() isdigit() isspace() lower() removesuffix() rpartition() startswith() upper() @@ -426,9 +425,6 @@ In [3]: greeting1. encode() format_map() isdecimal() isprintable() ljust() removeprefix() rjust() splitlines() translate() ``` - - - !!! example "String methods" ```ipython @@ -830,3 +826,5 @@ slides developed by Nina Fischer (see [slide deck one](https://docs.google.com/presentation/d/1ocVm9dAFB4hJs_KVhxHapuPIOVkymltxWtVGT9nXRag/edit#slide=id.p1) and [slide deck two](https://docs.google.com/presentation/d/1hoFC7Ax_WsGmdl2m8aVhfVSvaHykt96lOrFqsSDEIrQ/edit#slide=id.p4)). + +