At My Fingertips

Rapid Playground

Documentation

Aktivitäten: Markdownbeispiele

API-Tag und Sprache

PyTamaro iconellipse

![wolke](cloud.svg)

wolke

[developer.mozilla.org](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary)

developer.mozilla.org

best practice mit details und summary

Mehrere Absätze

mehrere p-Tags benutzen, evtl. kombinieren mit ol/ul-Tags. Schluss-Tag detail NICHT auf neue Zeile!

<details> <summary>Lösung</summary> 
    <p>Machen Sie es so </p>
    <p>Ersetzen Sie den letzten Befehl im Schleifenkörper mit folgendem Zweizeiler: </p>
    <ul><li>`rotation = randrange(60)`</li><li>`reihe = beside(reihe, rotate(rotation, stern))`</li></ul></details>
Lösung

Machen Sie es so

Ersetzen Sie den letzten Befehl im Schleifenkörper mit folgendem Zweizeiler:

  • rotation = randrange(60)
  • reihe = beside(reihe, rotate(rotation, stern))

details für Grafik verstecken

<details> <summary>Grafik anzeigen</summary> ![wolke](cloud.svg) </details>
Grafik anzeigenwolke

details mit p für GrafikEN verstecken

<details>
  <summary>Grafiken anzeigen</summary>
    <p>![wolke](cloud.svg)</p>
    <p>![wolke](cloud.svg)</p>
</details>
Grafiken anzeigen

wolke

wolke

details with ol

<details>
  <summary>Tipps wie anfangen?</summary>
  <ol>
    <li>Funktionsköpfe der gesuchten Funktionen verfassen.</li>
    <li>Jede Funktion eine temporäre Pseudo-Ausgabe machen lassen (``return 1+2``, ``return triangle(...)``).</li>
    <li>Jede Funktion einzeln aufrufen.</li>
    <li>Erst wenn das funktioniert, 'richtigen' Code erstellen.</li>
  </ol>
</details>
Tipps wie anfangen?
  1. Funktionsköpfe der gesuchten Funktionen verfassen.
  2. Jede Funktion eine temporäre Pseudo-Ausgabe machen lassen (return 1+2, return triangle(...)).
  3. Jede Funktion einzeln aufrufen.
  4. Erst wenn das funktioniert, 'richtigen' Code erstellen.

best practice für font styles

<ul>
    <li>This **word** should be bold.</li>
    <li>This *word* should be italic.</li>
    <li>This ***word*** should be bold and italic.</li>
</ul>
  • This word should be bold.
  • This word should be italic.
  • This word should be bold and italic.

__Additional Info

details summary

Quelle: developer.mozilla.org (2024-03-19)

details open with h4 and ol

<details open>
  <summary><h4>Overview</h4></summary>
  <ol>
    <li>Cash on hand: $500.00</li>
    <li>Current invoice: $75.30</li>
    <li>Due date: 5/6/19</li>
  </ol>
</details>

Overview

  1. Cash on hand: $500.00
  2. Current invoice: $75.30
  3. Due date: 5/6/19

details with h4 and ol

<details>
  <summary><h4>Overview</h4></summary>
  <ol>
    <li>Cash on hand: $500.00</li>
    <li>Current invoice: $75.30</li>
    <li>Due date: 5/6/19</li>
  </ol>
</details>

Overview

  1. Cash on hand: $500.00
  2. Current invoice: $75.30
  3. Due date: 5/6/19

details with ol

<details>
  <summary>Overview</summary>
  <ol>
    <li>Cash on hand: $500.00</li>
    <li>Current invoice: $75.30</li>
    <li>Due date: 5/6/19</li>
  </ol>
</details>
Overview
  1. Cash on hand: $500.00
  2. Current invoice: $75.30
  3. Due date: 5/6/19

details

<details>
  <summary>Overview</summary>
    Cash on hand: $500.00

    Current invoice: $75.30
    
    Due date: 5/6/19
</details>

runtime error

error-screenshot-1

Font styles

<ul>
    <li>This **word** should be bold. This __word__ should be bold.</li>
    <li>This *word* should be italic. This _word_ should be italic.</li>
    <li>This ***word*** should be bold and italic. This ___word___ should be bold and italic.</li>
</ul>
  • This word should be bold. This word should be bold.
  • This word should be italic. This word should be italic.
  • This word should be bold and italic. This word should be bold and italic.

Numbered lists

Beginnt bei der ersten Zahl zu zählen, ungeachtet der folgenden Zahlen?

3. erstes
3. zweites
2. drittes
8. viertes
  1. erstes
  2. zweites
  3. drittes
  4. viertes

This activity has been created by Gall and is licensed under CC BY-SA 4.0.

Aktivitäten: Markdownbeispiele

Logo of PyTamaro

PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI

Privacy PolicyPlatform Version 320e1c5 (Thu, 16 May 2024 14:11:39 GMT)