104 lines
No EOL
2.6 KiB
Markdown
104 lines
No EOL
2.6 KiB
Markdown
# Simonhigh statt Markdown 😉
|
|
|
|
Mein Enwurf für eine schreibfreundlichere Sprache.
|
|
|
|
## Formatierung
|
|
|
|
### Basics
|
|
|
|
```
|
|
#Text# = Überschrift 1
|
|
##Text## = Überschrift 2
|
|
…
|
|
*Text* = Fett
|
|
_Text_ = Unterstrichen
|
|
/Text/ = Italic
|
|
~Text~ = Durchgestrichen
|
|
^Text^ = Hochgestellt
|
|
^^Text^^ = Tiefgestellt
|
|
^1[Text]^ = Fussnote manuelle Nummer
|
|
^x[Text]^ = Fussnote automatisch nummeriert
|
|
>Text> = Text eingerückt
|
|
>>Text>> = Text 2x eingerückt
|
|
…
|
|
:Text: = Zitat
|
|
::
|
|
Text
|
|
:: = Blockzitat
|
|
[Text](URL) = Link
|
|
[Text]{URL} = Link new Tab
|
|
\Formatierungszeichen = Zeichen wird angezeigt (Beispiel: \# zeigt # als Text an. \ mit anschliessendem Leerzeichen wird als \ angezeigt. Ansonsten \\ schreiben.)
|
|
-Text- = Liste
|
|
>-Text>- = Eingeückte Liste
|
|
+Text+ = Nummerierte Liste
|
|
;Text; = Code
|
|
;;
|
|
Text
|
|
;; = Codeblock
|
|
;; Codesprache
|
|
Text
|
|
;; = 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
|
|
```
|
|
 → <img src="URL" alt="Alt-Text">
|
|
 → <img src="URL" alt="Alt-Text" style="width:200px;height:150px;">
|
|
 → Positioniert
|
|
 → <img src="URL" alt="Alt-Text" style="float\:left;width:33%;">
|
|
 |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>
|
|
``` |