Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/dev/assets/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,24 @@ import help_en from './lang/en/help_en.md'
import help_fr from './lang/fr/help_fr.md'
import help_pt_BR from './lang/pt-BR/help_pt-BR.md'
import help_ru from './lang/ru/help_ru.md'
import help_de from './lang/de/help_de.md'
import words_zh_CN from './lang/zh-CN/words_zh-CN.json'
import words_en from './lang/en/words_en.json'
import words_fr from './lang/fr/words_fr.json'
import words_pt_BR from './lang/pt-BR/words_pt-BR.json'
import words_ru from './lang/ru/words_ru.json'
import words_de from './lang/de/words_de.json'
export const CONFIG = {
'help_zh-CN': help_zh_CN,
'help_pt-BR': help_pt_BR,
'help_en': help_en,
'help_fr': help_fr,
'help_ru': help_ru,
'help_de': help_de,
'words_zh-CN': words_zh_CN,
'words_pt-BR': words_pt_BR,
'words_en': words_en,
'words_fr': words_fr,
'words_ru': words_ru
'words_ru': words_ru,
'words_de': words_de
}
204 changes: 204 additions & 0 deletions src/dev/assets/lang/de/help_de.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,204 @@
@[toc](Catalog)

Markdown Handbuch
===
> Details: [http://commonmark.org/help/](http://commonmark.org/help/)

## **Fett**
```
**fett**
__fett__
```
## *Kursiv*
```
*kursiv*
_kursiv_
```
## Überschriften
```
# h1 #
h1
====
## h2 ##
h2
----
### h3 ###
#### h4 ####
##### h5 #####
###### h6 ######
```
## Trennlinien
```
***
---
```
****
## ^Hoch^gestellt & ~Tief~gestellt
```
hochgestellt x^2^
tiefgestellt H~2~0
```
## ++Unterstrichen++ & ~~Durchgestrichen~~
```
++unterstrichen++
~~durchgestrichen~~
```
## ==Markiert==
```
==markiert==
```
## Zitat

```
> zitat 1
>> zitat 2
>>> zitat 3
...
```

## Liste
```
ol
1.
2.
3.
...

ul
-
-
...
```

## Todo Liste

- [x] aufgabe 1
- [ ] aufgabe 2

```
- [x] aufgabe 1
- [ ] aufgabe 2
```

## Link
```
Text Link
[Text](www.baidu.com)

Link mit Bild
![Text](http://www.image.com)
```
## Code
\``` Typ

Codeblock

\```

\` code \`

```c++
int main()
{
printf("hello world!");
}
```
`code`

## Tabelle
```
| th1 | th2 | th3 |
| :-- | :--: | ----: |
| links | mitte | rechts |
```
| th1 | th2 | th3 |
| :-- | :--: | ----: |
| links | mitte | rechts |
| ---------------------- | ------------- | ----------------- |
## Fußnote
```
hallo[^hallo]
```

Schau zum unteren Rand[^hallo]

[^hallo]: fussnote

## Emojis
Details: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)
```
:laughing:
:blush:
:smiley:
:)
...
```
:laughing::blush::smiley::)

## $\KaTeX$ Mathematik

Formeln lassen sich darstellen z.b. :$x_i + y_i = z_i$ und $\sum_{i=1}^n a_i=0$
Formeln können auf einer eigenen Zeile gerendert werden
$$\sum_{i=1}^n a_i=0$$
Details: [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)

## Layout

::: hljs-left
`::: hljs-left`
`links`
`:::`
:::

::: hljs-center
`::: hljs-center`
`mitte`
`:::`
:::

::: hljs-right
`::: hljs-right`
`rechts`
`:::`
:::

## Liste von Definitionen

Term 1

: Definition 1

Term 2 mit *inline markup*

: Definition 2

{ ein wenig code, teil von Definition 2 }

Dritter Absatz von Definition 2.

```
Term 1

: Definition 1

Term 2 mit *inline markup*

: Definition 2

{ ein wenig code, teil von Definition 2 }

Dritter Absatz von Definition 2.

```

## Abkürzungen
*[HTML]: Hyper Text Markup Language
*[W3C]: World Wide Web Consortium
Die HTML Spezifikation
wird gepflegt vom W3C.
```
*[HTML]: Hyper Text Markup Language
*[W3C]: World Wide Web Consortium
Die HTML Spezifikation
wird gepflegt vom W3C.
```
54 changes: 54 additions & 0 deletions src/dev/assets/lang/de/words_de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"start_editor": "Bearbeitung beginnen...",
"navigation_title": "Navigation",
"tl_bold": "Fett",
"tl_italic": "Kursiv",
"tl_header": "Überschrift",
"tl_header_one": "Überschrift 1",
"tl_header_two": "Überschrift 2",
"tl_header_three": "Überschrift 3",
"tl_header_four": "Überschrift 4",
"tl_header_five": "Überschrift 5",
"tl_header_six": "Überschrift 6",
"tl_underline": "Unterstrichen",
"tl_strikethrough": "Durchgestrichen",
"tl_mark": "Markiert",
"tl_superscript": "Hochgestellt",
"tl_subscript": "Tiefgestellt",
"tl_quote": "Zitat",
"tl_ol": "Ol",
"tl_ul": "Ul",
"tl_link": "Link",
"tl_image": "Link mit Bild",
"tl_code": "Code",
"tl_table": "Tabelle",
"tl_undo": "Rückgängig",
"tl_redo": "Wiederherstellen",
"tl_trash": "Mülleimer",
"tl_save": "Speichern",
"tl_navigation_on": "Navigation AN",
"tl_navigation_off": "Navigation AUS",
"tl_preview": "Vorschau",
"tl_aligncenter": "Text zentrieren",
"tl_alignleft": "Nach links ausrichten",
"tl_alignright": "Nach rechts ausrichten",
"tl_edit": "Bearbeiten",
"tl_single_column": "Einspaltig",
"tl_double_column": "Zweispaltig",
"tl_fullscreen_on": "Vollbild AN",
"tl_fullscreen_off": "Vollbild AUS",
"tl_read": "Lesemodus",
"tl_html_on": "HTML AN",
"tl_html_off": "HTML AUS",
"tl_help": "Markdown Handbuch",
"tl_upload": "Bilder-Upload",
"tl_upload_remove": "Entfernen",
"tl_popup_link_title": "Link hinzufügen",
"tl_popup_link_text": "Text des Links",
"tl_popup_link_addr": "Linkziel",
"tl_popup_img_link_title": "Bild hinzufügen",
"tl_popup_img_link_text": "Text des Bildes",
"tl_popup_img_link_addr": "Link auf Bild",
"tl_popup_link_sure": "Ja",
"tl_popup_link_cancel": "Abbruch"
}
6 changes: 5 additions & 1 deletion src/lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,27 @@ import help_en from './lang/en/help_en.md'
import help_fr from './lang/fr/help_fr.md'
import help_pt_BR from './lang/pt-BR/help_pt-BR.md'
import help_ru from './lang/ru/help_ru.md'
import help_de from './lang/de/help_de.md'
import words_zh_CN from './lang/zh-CN/words_zh-CN.json'
import words_en from './lang/en/words_en.json'
import words_fr from './lang/fr/words_fr.json'
import words_pt_BR from './lang/pt-BR/words_pt-BR.json'
import words_ru from './lang/ru/words_ru.json'
import words_de from './lang/de/words_de.json'
export const CONFIG = {
'help_zh-CN': help_zh_CN,
'help_pt-BR': help_pt_BR,
'help_en': help_en,
'help_fr': help_fr,
'help_ru': help_ru,
'help_de': help_de,
'words_zh-CN': words_zh_CN,
'words_pt-BR': words_pt_BR,
'words_en': words_en,
'words_fr': words_fr,
'words_ru': words_ru,
'langList': ['en', 'zh-CN', 'fr', 'pt-BR', 'ru'],
'words_de': words_de,
'langList': ['en', 'zh-CN', 'fr', 'pt-BR', 'ru','de'],
'toolbars': {
'bold': true,
'italic': true,
Expand Down