From 1ee5e7415b1b7369d897f404e45ed8a013cb3ff9 Mon Sep 17 00:00:00 2001 From: raj_mathe Date: Thu, 14 Jul 2022 14:36:54 +0200 Subject: [PATCH] master > master: protokoll - Markdown --- protocol/woche15.md | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/protocol/woche15.md b/protocol/woche15.md index b449d51..d7f5a0d 100644 --- a/protocol/woche15.md +++ b/protocol/woche15.md @@ -29,8 +29,41 @@ Dann gibt es immer plaintext. Aber eine Stufe besser ist **Markdown**. Markdown - Komplexe Textformats mit sehr intuitiver Syntax möglich: - Überschriften - Listen - - Tabellen - - Code Blocks (in diversen Sprachen) + - Tabellen. Z. B. man gibt + ``` + | Objekt | Kosten | Wert | + | :----: | -----: | ---: | + | Apfel | 1,30€ | 301 | + | Orange | 2€ | 440 | + ``` + ein und bekommt + + | Objekt | Kosten | Wert | + | :----: | -----: | ---: | + | Apfel | 1,30€ | 301 | + | Orange | 2€ | 440 | + + raus. + - Code Blocks (in diversen Sprachen). Z. B. man gibt + ``` + '''java + public class HelloWorld { + public static void main (String[] args) { + System.out.println("Hello World!"); + } + } + ''' + ``` + (mit Backticks statt `'''`) und bekommt + ```java + public class HelloWorld { + public static void main (String[] args) { + System.out.println("Hello World!"); + } + } + ``` + raus. + - URIs - interne Verlinkungen! - sogar Mathe-Formeln mit (simplem) LaTeX-Code