Skip to main content
Techlogia — AI and Web Development Berlin
All courses
Free to read – no sign-up

Markdown + Data Formats

Write your first Markdown note and learn JSON + CSV. 5 short tasks, each 2-3 minutes.

Duration: 20 minLevel: BeginnerExercises: 5

Your first note with Markdown

Markdown + data formats

Markdown is a simple markup language for formatting text quickly — with a few special characters instead of complicated tags. GitHub, chat tools and these lab tasks themselves are written in Markdown. You also get to know two important data formats: JSON and CSV.

Key terms

  • Markdown (.md): # for headings, - for lists, [text](URL) for links.
  • JSON: a data format of key-value pairs in curly braces { "name": "Max" } — the standard for APIs.
  • CSV: "Comma-Separated Values" — a table as text, columns separated by commas.

Work in the folder /home/student/markdown/ (mkdir -p /home/student/markdown).

Your goal

You write a Markdown note (heading, list, link) and create one small JSON and one CSV file.

Exercises

  1. 1. Write a heading

    Concept: Markdown heading. In Markdown a heading starts with # and a space. Write a heading into notizen.md.

    mkdir -p /home/student/markdown
    echo "# My notes" > /home/student/markdown/notizen.md

    Check: notizen.md contains a line starting with # .

  2. 2. A list with three items

    Concept: Markdown list. A list item starts with - and a space. Write a list with at least three items into liste.md.

    printf -- "- First item\n- Second item\n- Third item\n" > /home/student/markdown/liste.md

    Check: liste.md contains at least three lines starting with - .

  3. 3. A link

    Concept: Markdown link. A link looks like this: [display text](URL). Write a link into links.md.

    echo "[Techlogia Lab](https://techlogia.de/lab)" > /home/student/markdown/links.md

    Check: links.md contains a link in the format [text](https://...).

  4. 4. A small JSON file

    Concept: JSON. JSON stores data as key-value pairs in curly braces. Keys and text values are in double quotes. Create a small profile as profil.json.

    echo '{ "name": "Max", "class": "7a" }' > /home/student/markdown/profil.json

    Mind the double quotes and the comma between pairs.

    Check: profil.json contains a valid JSON object with at least one "key": value pair.

  5. 5. A CSV table

    Concept: CSV. A CSV file is a table as text: the first line is the column names, then one line per record, values separated by commas. Create tabelle.csv with a header and at least three data lines.

    printf "name,class\nMax,7a\nLisa,7b\nTom,8a\n" > /home/student/markdown/tabelle.csv

    Check: tabelle.csv has a header (two columns) and at least three more lines.

Related courses

Now practice it yourself

Reading is good – doing is better. Start this course on a real Linux VM, right in your browser. A free account is all it takes.

Start for free

Lab content under CC BY 4.0 – free to use with attribution (© TechLogia).

How do you like this page?

Markdown + Data Formats | Techlogia Lab