This commit is contained in:
2025-06-09 17:27:54 +02:00
parent 924e94eace
commit 908b038341
11 changed files with 319 additions and 20 deletions

View File

@@ -4,6 +4,8 @@ Here are all infos that are important for the developers. You can find here for
## How to markdown
This module is from this [GitHub repo](https://github.com/remarkjs/react-markdown)
### Necesarry syntax for import
```ts
@@ -15,12 +17,16 @@ import Markdown from "react-markdown";
This syntax is important when you want to use markdown on the website!
> You have to call the script elemt above in every file where you want to use markdown!
### How to call markdown
```ts
<Markdown>{markdown}</Markdown>
<Markdown></Markdown>
```
Between the openeing and closing tag can you write markdown. This markdown syntx is then rendered on the website.
# React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.