# richtext — Examples

## markdown

```html
<richtext-ui markdown="# Hello world Welcome to **AdiaUI**. This paragraph was parsed from markdown: - Lists - Render - Cleanly `inline code` and [links](https://example.com) work too."></richtext-ui>
```

## src

```html
<richtext-ui src="/README.md"></richtext-ui>
```

## code blocks

```html
<richtext-ui markdown="## Example ```js function greet(name) { return `Hello, ${name}!`; } ``` Inline `code` also works."></richtext-ui>
```
