diff --git a/apps/editor/examples/data/md-default.js b/apps/editor/examples/data/md-default.js index 89332c9c63..8e33c82d7e 100644 --- a/apps/editor/examples/data/md-default.js +++ b/apps/editor/examples/data/md-default.js @@ -2,44 +2,39 @@ const content = [ '![image](https://uicdn.toast.com/toastui/img/tui-editor-bi.png)', '', - '# Heading 1', - '## Heading 2', - '### Heading 3', - '#### Heading 4', - '##### Heading 5', - '###### Heading 6', - '', - '**bold** *italic* ~~strikethrough~~', - 'Color Syntax', - '[link](https://nhn.github.io/tui.editor/)', - '', - '---', - 'horizontal line', - '***', - '', - '> block quote', - '>> block quote (2 depth)', - '>>> block quote (3 depth)', - '', - '* list', - ' * list indented', - '1. ordered', - '2. list', - ' 1. ordered list', - ' 2. indented', - '', - '- [ ] task', - '- [x] list completed', - '', - '`inline code`', - '', - ' code block', + '# Awesome Editor!', + '', + 'It has been _released as opensource in 2018_ and has ~~continually~~ evolved to **receive 10k GitHub ⭐️ Stars**.', + '', + '## Create Instance', + '', + 'You can create an instance with the following code and use `getHtml()` and `getMarkdown()` of the [Editor](https://github.com/nhn/tui.editor).', + '', '```js', - 'console.log("fenced code block");', + 'const editor = new Editor(options);', '```', - '
**HTML block**', '', - '| table | head |', - '| ---- | ---- |', - '| table | body |' + '> See the table below for default options', + '> > More API information can be found in the document', + '', + '| name | type | description |', + '| --- | --- | --- |', + '| el | `HTMLElement` | container element |', + '', + '## Features', + '', + '* CommonMark + GFM Specifications', + ' * Live Preview', + ' * Scroll Sync', + ' * Auto Indent', + ' * Syntax Highlight', + ' 1. Markdown', + ' 2. Preview', + '', + '## Support Wrappers', + '', + '> * Wrappers', + '> 1. [x] React', + '> 2. [x] Vue', + '> 3. [ ] Ember' ].join('\n');