import{_ as a,r as s,c as i,b as n,d as t,w as l,a as p,o,e as r}from"./app-kF3bKHkE.js";const c="/assets/vscode-preview-readme-B3Epmjjx.png",d="/assets/obsidian-%C3%B6ffne-vault-Z2QGqpOe.png",u="/assets/obsiidan-open-Brf13srQ.png",h="/assets/obsidian-graph-sA0aWrvA.png",k={},m=n("h1",{id:"slides-thema-14",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#slides-thema-14"},[n("span",null,"Slides Thema 14")])],-1),b=n("h2",{id:"dokumentation-mit-markdown",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#dokumentation-mit-markdown"},[n("span",null,"Dokumentation mit Markdown")])],-1),v=p(`<p>⚡Anwesenheit bestätigen</p><hr><h3 id="lernziele" tabindex="-1"><a class="header-anchor" href="#lernziele"><span>Lernziele</span></a></h3><p>Ich kann ...</p><ul><li>Markdown-Dokumente erstellen.</li><li>die Markdown-Syntax anwenden.</li><li>Markdown-Erweiterungen verstehen.</li><li>mit Obsidian Markdown-Dateien vearbeiten und verlinken.</li></ul><hr><h3 id="was-ist-markdown" tabindex="-1"><a class="header-anchor" href="#was-ist-markdown"><span>Was ist Markdown?</span></a></h3><p>Markdown ist eine vereinfachte Auszeichnungssprache.</p><p>Ein Ziel von Markdown ist eine leicht lesbare Ausgangsform bereits vor der Konvertierung.</p><hr><h3 id="beispiel-eines-markdown-dokument" tabindex="-1"><a class="header-anchor" href="#beispiel-eines-markdown-dokument"><span>Beispiel eines Markdown-Dokument</span></a></h3><p>Markdown-Dokumente sind Text-Dateien mit der Dateiendung <code>.md</code>.</p><div class="language-markdown line-numbers-mode" data-highlighter="prismjs" data-ext="md" data-title="md"><pre><code><span class="line"><span class="token title important">Markdown Lernen</span>
<span class="line"><span class="token punctuation">===============</span></span></span>
<span class="line"></span>
<span class="line"><span class="token title important"><span class="token punctuation">##</span> Einleitung</span></span>
<span class="line"></span>
<span class="line"><span class="token bold"><span class="token punctuation">**</span><span class="token content">Markdown</span><span class="token punctuation">**</span></span> ist eine vereinfachte Auszeichnungssprache.</span>
<span class="line"></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><p>🤔 Für was stehen die Spezialzeichen <code>=, #, *</code>?</p><hr><h3 id="mardown-als-html-dokument" tabindex="-1"><a class="header-anchor" href="#mardown-als-html-dokument"><span>Mardown als HTML-Dokument</span></a></h3><p>Markdown kann in HTML umgewandelt werden.</p><div class="language-html line-numbers-mode" data-highlighter="prismjs" data-ext="html" data-title="html"><pre><code><span class="line"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>h1</span> <span class="token attr-name">id</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>markdown-lernen<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>Markdown Lernen<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>h1</span><span class="token punctuation">&gt;</span></span></span>
<span class="line"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>h2</span> <span class="token attr-name">id</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>einleitung<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>Einleitung<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>h2</span><span class="token punctuation">&gt;</span></span></span>
<span class="line"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>p</span><span class="token punctuation">&gt;</span></span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>strong</span><span class="token punctuation">&gt;</span></span>Markdown<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>strong</span><span class="token punctuation">&gt;</span></span> ist eine vereinfachte Auszeichnungssprache.<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>p</span><span class="token punctuation">&gt;</span></span></span>
<span class="line"></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><p>ℹ️ Diese Website ist volltständig in Markdown geschrieben.</p><h3 id="readme-erstellen" tabindex="-1"><a class="header-anchor" href="#readme-erstellen"><span>README erstellen</span></a></h3><p>🎬 Führen Sie diese Aktionen aus:</p><ul><li>Neuer Ordner <code>Thema14</code> erstellen</li><li>Ordner mit VSCode öffnen</li><li>Datei <code>README.md</code> mit diesem Code anlegen:</li></ul><div class="language-markdown line-numbers-mode" data-highlighter="prismjs" data-ext="md" data-title="md"><pre><code><span class="line"><span class="token title important"><span class="token punctuation">#</span> Sample Markdown</span></span>
<span class="line"></span>
<span class="line">This is some basic, sample markdown.</span>
<span class="line"></span>
<span class="line"><span class="token title important"><span class="token punctuation">##</span> Second Heading</span></span>
<span class="line"></span>
<span class="line"> <span class="token list punctuation">*</span> Unordered lists, and:</span>
<span class="line">  <span class="token list punctuation">1.</span> One</span>
<span class="line">  <span class="token list punctuation">1.</span> Two</span>
<span class="line">  <span class="token list punctuation">1.</span> Three</span>
<span class="line"> <span class="token list punctuation">*</span> More</span>
<span class="line"></span>
<span class="line"><span class="token blockquote punctuation">&gt;</span> Blockquote</span>
<span class="line"></span>
<span class="line">And <span class="token bold"><span class="token punctuation">**</span><span class="token content">bold</span><span class="token punctuation">**</span></span>, <span class="token italic"><span class="token punctuation">*</span><span class="token content">italics</span><span class="token punctuation">*</span></span>, and even <span class="token italic"><span class="token punctuation">*</span><span class="token content">italics and later <span class="token bold"><span class="token punctuation">**</span><span class="token content">bold</span><span class="token punctuation">**</span></span></span><span class="token punctuation">*</span></span>. Even <span class="token strike"><span class="token punctuation">~~</span><span class="token content">strikethrough</span><span class="token punctuation">~~</span></span>. <span class="token url">[<span class="token content">A link</span>](<span class="token url">https://markdowntohtml.com</span>)</span> to somewhere.</span>
<span class="line"></span>
<span class="line">And code highlighting:</span>
<span class="line"></span>
<span class="line"><span class="token code"><span class="token punctuation">\`\`\`</span><span class="token code-language">js</span></span>
<span class="line"><span class="token code-block language-js"><span class="token keyword">var</span> foo <span class="token operator">=</span> <span class="token string">&#39;bar&#39;</span><span class="token punctuation">;</span></span>
<span class="line"></span>
<span class="line"><span class="token keyword">function</span> <span class="token function">baz</span><span class="token punctuation">(</span><span class="token parameter">s</span><span class="token punctuation">)</span> <span class="token punctuation">{</span></span>
<span class="line">   <span class="token keyword">return</span> foo <span class="token operator">+</span> <span class="token string">&#39;:&#39;</span> <span class="token operator">+</span> s<span class="token punctuation">;</span></span>
<span class="line"><span class="token punctuation">}</span></span></span>
<span class="line"><span class="token punctuation">\`\`\`</span></span></span>
<span class="line"></span>
<span class="line">Or inline code like <span class="token code-snippet code keyword">\`var foo = &#39;bar&#39;;\`</span>.</span>
<span class="line"></span>
<span class="line">Or an image of bears</span>
<span class="line"></span>
<span class="line"><span class="token url"><span class="token operator">!</span>[<span class="token content">bears</span>](<span class="token url">http://placebear.com/200/200</span>)</span></span>
<span class="line"></span>
<span class="line">The end ...</span>
<span class="line"></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><hr><h3 id="html-vorschau-anzeigen" tabindex="-1"><a class="header-anchor" href="#html-vorschau-anzeigen"><span>HTML-Vorschau anzeigen</span></a></h3><p>🎬 Machen Sie einen Rechtsklick auf die Datei <code>README.md</code> und wählen Sie <em>Open Preview</em>.</p><p><img src="`+c+`" alt=""></p><hr><h3 id="live-vorschau" tabindex="-1"><a class="header-anchor" href="#live-vorschau"><span>Live-Vorschau</span></a></h3><p>🎬 Schiebt das Vorschau-Fenster auf die rechte Seite und bearbeitet das Markdown-Dokument.</p><hr><h3 id="bilder-einfugen" tabindex="-1"><a class="header-anchor" href="#bilder-einfugen"><span>Bilder einfügen</span></a></h3><p>Die Anzeige von Bilder ist etwas umständlicher als gewohnt.</p><p>🎬 Führen Sie diese Aktionen aus:</p><ul><li>Laden Sie das Bild des Bären herunter: <a href="https://placebear.com/200/200" target="_blank" rel="noopener noreferrer">https://placebear.com/200/200</a><ul><li>Rechtsklick auf Bild machen und <em>Grafik speichern unter</em> wählen</li></ul></li><li>Speichern Sie die Datei in denselben Ordner wie <code>README.md</code></li><li>Erstetzen Sie <code>![bears](http://placebear.com/200/200)</code> mit <code>![](200.jpeg)</code></li></ul><p>In der Vorschau sollte das Bild immer noch erscheinen.</p><hr><h3 id="syntax" tabindex="-1"><a class="header-anchor" href="#syntax"><span>Syntax</span></a></h3><p>Es gibt verschiedene Markdown-Syntaxen.</p><p>Eine gute Übersicht zur Basis-Syntax bietet: <a href="https://www.markdownguide.org/basic-syntax/" target="_blank" rel="noopener noreferrer">https://www.markdownguide.org/basic-syntax/</a></p><hr><h3 id="erweiterte-syntaxen" tabindex="-1"><a class="header-anchor" href="#erweiterte-syntaxen"><span>Erweiterte Syntaxen</span></a></h3><p>Auf derselben Seite findet man eine Liste von weiteren Syntaxen: <a href="https://www.markdownguide.org/extended-syntax/" target="_blank" rel="noopener noreferrer">https://www.markdownguide.org/extended-syntax/</a></p><hr><h3 id="tabelle-erstellen" tabindex="-1"><a class="header-anchor" href="#tabelle-erstellen"><span>Tabelle erstellen</span></a></h3><p>Wenn Github-Flavored-Markdown (GFM) unterstützt wird, können Sie in Markdown-Tabellen erstellen.</p><p>🎬 Kopieren Sie den folgenden Code in die <code>README.md</code> Datei:</p><div class="language-markdown line-numbers-mode" data-highlighter="prismjs" data-ext="md" data-title="md"><pre><code><span class="line"><span class="token table"><span class="token table-header-row"><span class="token punctuation">|</span><span class="token table-header important"> Syntax      </span><span class="token punctuation">|</span><span class="token table-header important"> Description </span><span class="token punctuation">|</span></span>
<span class="line"></span><span class="token table-line"><span class="token punctuation">|</span> <span class="token punctuation">-----------</span> <span class="token punctuation">|</span> <span class="token punctuation">-----------</span> <span class="token punctuation">|</span></span>
<span class="line"></span><span class="token table-data-rows"><span class="token punctuation">|</span><span class="token table-data"> Header      </span><span class="token punctuation">|</span><span class="token table-data"> Title       </span><span class="token punctuation">|</span></span>
<span class="line"><span class="token punctuation">|</span><span class="token table-data"> Paragraph   </span><span class="token punctuation">|</span><span class="token table-data"> Text        </span><span class="token punctuation">|</span></span>
<span class="line"></span></span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><hr><h3 id="dokumentation-mit-markdown-1" tabindex="-1"><a class="header-anchor" href="#dokumentation-mit-markdown-1"><span>Dokumentation mit Markdown</span></a></h3><p>Warum sollte man Dokumente / Dokumentationen mit Markdown erstellen?</p><ul><li>Text-Dateien können immer gelesen werden.</li><li>Es braucht keine zusätzliche Software (Word, Adobe, ...)</li><li>Die Inhalte können als Website publiziert werden</li></ul><hr><h3 id="notizen-mit-obsidian" tabindex="-1"><a class="header-anchor" href="#notizen-mit-obsidian"><span>Notizen mit Obsidian</span></a></h3><p>Diese Website wird mit <a href="https://obsidian.md/" target="_blank" rel="noopener noreferrer">https://obsidian.md/</a>.</p><p>Obsidian ist eine Knowledge Base, die aber im wesentlichen die Bearbeitung und Verknüpfung von Markdown-Dateien erlaubt.</p><hr><h3 id="obsidian-testen" tabindex="-1"><a class="header-anchor" href="#obsidian-testen"><span>Obsidian testen</span></a></h3><p>Dieselbe <code>README.md</code> Datei können Sie mit Obsidian bearbeiten.</p><p>🎬 Führen Sie diese Aktionen aus:</p><ul><li>Obsidain herunterladen und installieren</li><li>Obsidian starten und <em>Order als Vault öffnen</em></li></ul><p><img src="`+d+'" alt=""></p><ul><li>Den Ordner <code>Thema14</code> auswählen und öffnen</li></ul><p><img src="'+u+'" alt=""></p><hr><h3 id="verlinkung-erstellen" tabindex="-1"><a class="header-anchor" href="#verlinkung-erstellen"><span>Verlinkung erstellen</span></a></h3><p>Mit Obsidian können Sie Dateien verlinken.</p><p>🎬 Führen Sie diese Aktionen aus:</p><ul><li>Fügen Sie am Ende von <code>README</code> den Text <code>[[About]]</code> ein</li><li>Halten <kbd>ctrl</kbd> gedrück und klicken Sie auf <code>[[About]]</code></li></ul><p>Obsidian erstellt das Dokument <code>About</code>. Sie können das Dokument bearbeiten.</p><hr><h3 id="graph-ansicht-offnen" tabindex="-1"><a class="header-anchor" href="#graph-ansicht-offnen"><span>Graph-Ansicht öffnen</span></a></h3><p>🎬 Wählen Sie auf der Linken Seite <em>Graph-Ansicht öffnen</em>.</p><p><img src="'+h+'" alt=""></p><p>Die Verlinkung zwischen dem Dokument <code>README</code> und <code>About</code> wird visualisiert.</p><p>🎬 Erstellen Sie weitere Links und Dokumente.</p><hr><h3 id="was-kann-mich-mit-obsidian" tabindex="-1"><a class="header-anchor" href="#was-kann-mich-mit-obsidian"><span>Was kann mich mit Obsidian?</span></a></h3><ul><li>Komplexe Dokumentationen schreiben.</li><li>Wikis für das Unternehmen erstellen.</li><li>Persönliche Projekte planen und ausführen.</li></ul><p>Es gibt noch weitere Alternativen wie <a href="https://joplinapp.org/" target="_blank" rel="noopener noreferrer">https://joplinapp.org/</a>, <a href="https://logseq.com/" target="_blank" rel="noopener noreferrer">https://logseq.com/</a></p><hr><h3 id="review" tabindex="-1"><a class="header-anchor" href="#review"><span>Review</span></a></h3><p>🎯 Wurden die <a href="#lernziele">Lernziele</a> erreicht?</p><p>⚡ Feedback zu den Zielen einholen.</p><hr>',85);function g(w,f){const e=s("RouteLink");return o(),i("div",null,[m,b,n("p",null,[t(e,{to:"/topic-14/"},{default:l(()=>[r("◀️ Thema 14")]),_:1})]),v])}const M=a(k,[["render",g],["__file","slides14.html.vue"]]),D=JSON.parse('{"path":"/topic-14/slides14.html","title":"Slides Thema 14","lang":"de-CH","frontmatter":{},"headers":[{"level":2,"title":"Dokumentation mit Markdown","slug":"dokumentation-mit-markdown","link":"#dokumentation-mit-markdown","children":[{"level":3,"title":"Lernziele","slug":"lernziele","link":"#lernziele","children":[]},{"level":3,"title":"Was ist Markdown?","slug":"was-ist-markdown","link":"#was-ist-markdown","children":[]},{"level":3,"title":"Beispiel eines Markdown-Dokument","slug":"beispiel-eines-markdown-dokument","link":"#beispiel-eines-markdown-dokument","children":[]},{"level":3,"title":"Mardown als HTML-Dokument","slug":"mardown-als-html-dokument","link":"#mardown-als-html-dokument","children":[]},{"level":3,"title":"README erstellen","slug":"readme-erstellen","link":"#readme-erstellen","children":[]},{"level":3,"title":"HTML-Vorschau anzeigen","slug":"html-vorschau-anzeigen","link":"#html-vorschau-anzeigen","children":[]},{"level":3,"title":"Live-Vorschau","slug":"live-vorschau","link":"#live-vorschau","children":[]},{"level":3,"title":"Bilder einfügen","slug":"bilder-einfugen","link":"#bilder-einfugen","children":[]},{"level":3,"title":"Syntax","slug":"syntax","link":"#syntax","children":[]},{"level":3,"title":"Erweiterte Syntaxen","slug":"erweiterte-syntaxen","link":"#erweiterte-syntaxen","children":[]},{"level":3,"title":"Tabelle erstellen","slug":"tabelle-erstellen","link":"#tabelle-erstellen","children":[]},{"level":3,"title":"Dokumentation mit Markdown","slug":"dokumentation-mit-markdown-1","link":"#dokumentation-mit-markdown-1","children":[]},{"level":3,"title":"Notizen mit Obsidian","slug":"notizen-mit-obsidian","link":"#notizen-mit-obsidian","children":[]},{"level":3,"title":"Obsidian testen","slug":"obsidian-testen","link":"#obsidian-testen","children":[]},{"level":3,"title":"Verlinkung erstellen","slug":"verlinkung-erstellen","link":"#verlinkung-erstellen","children":[]},{"level":3,"title":"Graph-Ansicht öffnen","slug":"graph-ansicht-offnen","link":"#graph-ansicht-offnen","children":[]},{"level":3,"title":"Was kann mich mit Obsidian?","slug":"was-kann-mich-mit-obsidian","link":"#was-kann-mich-mit-obsidian","children":[]},{"level":3,"title":"Review","slug":"review","link":"#review","children":[]}]}],"git":{"updatedTime":1706948342000,"contributors":[{"name":"Janik von Rotz","email":"login@janikvonrotz.ch","commits":1}]},"filePathRelative":"topic-14/slides14.md"}');export{M as comp,D as data};
