Skip to content

Commit

Permalink
fix: change data using examples
Browse files Browse the repository at this point in the history
  • Loading branch information
seonim-ryu committed May 13, 2020
1 parent f9faf7c commit 7cddc9e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
7 changes: 4 additions & 3 deletions apps/editor/examples/data/md-default.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* eslint-disable no-unused-vars */
const content = [
/* eslint-disable no-var */
var content = [
'![image](https://uicdn.toast.com/toastui/img/tui-editor-bi.png)',
'',
'# Awesome Editor!',
Expand All @@ -24,10 +25,10 @@ const content = [
'## Features',
'',
'* CommonMark + GFM Specifications',
' * Live Preview',
' * Live Preview',
' * Scroll Sync',
' * Auto Indent',
' * Syntax Highlight',
' * Syntax Highlight',
' 1. Markdown',
' 2. Preview',
'',
Expand Down
11 changes: 6 additions & 5 deletions apps/editor/examples/data/md-plugins.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* eslint-disable no-unused-vars */
const chartContent = [
/* eslint-disable no-var */
var chartContent = [
'```chart',
',category1,category2',
'Jan,21,23',
Expand All @@ -15,12 +16,12 @@ const chartContent = [
'```'
].join('\n');

const codeContent = [
var codeContent = [
'```js',
`console.log('foo')`,
'```',
'```javascript',
`console.log('bar')`,
"console.log('bar')",
'```',
'```html',
'<div id="editor"><span>baz</span></div>',
Expand All @@ -33,9 +34,9 @@ const codeContent = [
'```'
].join('\n');

const tableContent = ['| @cols=2:merged |', '| --- | --- |', '| table | table2 |'].join('\n');
var tableContent = ['| @cols=2:merged |', '| --- | --- |', '| table | table2 |'].join('\n');

const umlContent = [
var umlContent = [
'```uml',
'partition Conductor {',
' (*) --> "Climbs on Platform"',
Expand Down

0 comments on commit 7cddc9e

Please sign in to comment.