Update readme.md

This commit is contained in:
simonpipe 2026-07-06 17:11:00 +02:00
parent 9be62beb3d
commit e8ba868b87

View file

@ -39,3 +39,66 @@ Text
Text Text
;; = Textblock mit angegebener Codesprach ;; = Textblock mit angegebener Codesprach
``` ```
# Simonhigh Syntax (kompakt)
## Textformatierung
```
#Text# → <h1>Text</h1>
##Text## → <h2>Text</h2>
*Text* → <strong>Text</strong>
_Text_ → <u>Text</u>
/Text/ → <em>Text</em>
~Text~ → <s>Text</s>
^Text^ → <sup>Text</sup>
^^Text^^ → <sub>Text</sub>
\Zeichen → Escape (z. B. \# → #)
|Text| → <p class="text-center">Text</p>
```
## Listen
```
-Text- → <li>Text</li>
>-Text>- → <li style="margin-left:20px;">Text</li>
+Text+ → <ol><li>Text</li></ol>
```
## Links
```
[Text](URL) → <a href="URL">Text</a>
[Text]{URL} → <a href="URL" target="_blank">Text</a>
```
## Code
```
;Text; → <code>Text</code>
;;
Codeblock
;; → <pre><code>Codeblock</code></pre>
;;Sprache
Codeblock
;; → <pre><code class="language-Sprache">Codeblock</code></pre>
```
## Bilder
```
![Alt-Text](URL) → <img src="URL" alt="Alt-Text">
![Alt-Text w:200 h:150](URL) → <img src="URL" alt="Alt-Text" style="width:200px;height:150px;">
![Alt-Text left/right/center](URL) → Positioniert
![Alt-Text left33%](URL) → <img src="URL" alt="Alt-Text" style="float\:left;width:33%;">
![Alt-Text](URL) |Unterschrift| → <figure><img src="URL" alt="Alt-Text"><figcaption class="text-center">Unterschrift</figcaption></figure>
```
## Fußnoten
```
^1[Text]^ → <sup>1</sup> + Fußnote: Text
^x[Text]^ → Auto-Fußnote
```
## Zitate
```
\:Text: → <q>Text</q>
::
Text
:: → <blockquote>Text</blockquote>
```