KbqMarkdown - компонент, который позволяет преобразовывать текст, написанный на языке разметки Markdown, в HTML.

Обрати внимание

Для работы компонента, необходимо наличие marked зависимости:

npm install marked
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
A brute-force attack is a cryptanalytic attack that can, in theory, be used to attempt to decrypt any encrypted data (except for data encrypted in an information-theoretically secure manner).

Such an attack might be used when it is not possible to take advantage of other weaknesses in an encryption system (if any exist) that would make the task easier.
**bold**  
__bold__

_italic_  
*italic*

***bold and italic***  
___bold and italic___
> A [brute-force attack](#) is a cryptanalytic attack that can, in theory, be used to attempt to decrypt any encrypted data (except for data encrypted in an information-theoretically secure manner). Such an attack might be used when it is not possible to take advantage of other weaknesses in an encryption system (if any exist) that would make the task easier.
### Ordered List:

1. First item
2. Second item
3. Third item
4. Fourth item

### Unordered List:

- First item
- Second item
- Third item
- Fourth item
Use the `bypassSecurityTrustHtml()` function
```html
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Koobiq</title>
</head>
<body>
    <app></app>
</body>
</html>
```
---
![With caption text](https://koobiq.io/assets/images/markdown/markdown-image.png)
*Caption*
| Default    | Left align | Center align | Right align |
| ---------- | :--------- | :----------: | ----------: |
| Babable    | Zillya     |    ClamAV    |     Acronis |
| Cybereason | McAfee     |    Cyren     |       Zoner |
| ESET NOD32 | Alibaba    |    eScan     |      Dr.Web |

Для создания переноса строки в шаблоне компонента необходимо добавить два пробела &#32;&#32; в конце строки.

First line  
Second line

При использовании атрибута markdownText необходимо добавить \n в конце строки, предварительно включив опцию конфигурации { breaks: true }.

First line
Second line

Предложения по улучшению
Если вы нашли ошибку или хотите доработать статью, создайте запрос на GitHub.