Skip to content

Commit

Permalink
chore: update example page data
Browse files Browse the repository at this point in the history
  • Loading branch information
seonim-ryu committed Apr 29, 2020
1 parent 01f7520 commit b65b052
Showing 1 changed file with 32 additions and 37 deletions.
69 changes: 32 additions & 37 deletions apps/editor/examples/data/md-default.js
Original file line number Diff line number Diff line change
Expand Up @@ -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~~',
'<span style="color:#e11d21;">Color Syntax</span>',
'[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);',
'```',
'<pre>**HTML block**</pre>',
'',
'| 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');

0 comments on commit b65b052

Please sign in to comment.