diff --git a/src/components/NcRichText/NcRichText.vue b/src/components/NcRichText/NcRichText.vue index 191a853bda..ea53a4d664 100644 --- a/src/components/NcRichText/NcRichText.vue +++ b/src/components/NcRichText/NcRichText.vue @@ -25,16 +25,24 @@ This component displays rich text with optional autolink or [Markdown support](h export default { data() { return { - text: `## Hello everyone 🎉 -The file {file} was added by {username}. Visit https://nextcloud.com to check it! + text: `3. one +4. three +5. five +6. eleven -Some examples for markdown syntax: -1. **bold text** -2. _italic text_ -3. example of \`inline code\` +fsdf -> blockquote example -`, +2. one +4. three +7. five +11. eleven + +afsfd + +3. one +4. three +5. five +6. eleven`, autolink: true, useMarkdown: true, args: { @@ -62,243 +70,6 @@ textarea { ``` -### Flavored Markdown - -This component can support [Github Flavored Markdown](https://github.github.com/gfm/). -It adds such elements, as tables, task lists, strikethrough, and supports code syntax highlighting and autolinks by default - -It is also possible to make a rendered content interactive and listen for events - -```vue -