From c33c6a521325adafb250124d2814423b3a4187b5 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Wed, 22 Apr 2020 22:01:56 +0300 Subject: feat: change some texts in preview page --- src/index.tsx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/index.tsx') diff --git a/src/index.tsx b/src/index.tsx index c5e1989..4dd760b 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,7 +1,12 @@ import React, { useState, useRef } from 'react'; import ReactDOM from 'react-dom'; -import { makeStyles, TextField, Button } from '@material-ui/core'; +import { + makeStyles, + TextField, + Button, + Link, +} from '@material-ui/core'; import { Benzin, @@ -97,6 +102,11 @@ const LivePreviewPage: React.FC = ({ setLivePreviewData }) => {

Start typing and see your text rendered on the left window! + You can find the list of all Markdown features {' '} + + here + + . (some of them are yet in progress). We recommend starting with # Header.

@@ -131,7 +141,6 @@ const App: React.FC = () => { /* eslint-disable max-len */ `## Markdown\n [Markdown file](${url}) *(...${fileName})* that you can see on the left was parsed and rendered by **BENZIN**! :rocket:`, 'Switch between tabs on the header to explore other markdown templates. :recycle: ', - 'Currently **only core features** of markdown function.', 'Templates on the left are being loaded from the [GitHub](https://github.com), though this pane is generated from plaintext. :pen:', '## How do I use this feature?', '```', -- cgit v1.2.3 From bfa9f7b9158faa3a453eaabf5be3c96b6c8a18b1 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 10 Oct 2020 13:39:08 +0300 Subject: refactor: remove demo components from lib --- src/index.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/index.tsx') diff --git a/src/index.tsx b/src/index.tsx index 4dd760b..404ac16 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,21 +1,19 @@ import React, { useState, useRef } from 'react'; import ReactDOM from 'react-dom'; - import { makeStyles, TextField, Button, Link, } from '@material-ui/core'; - import { Benzin, - Header, - Window, Markdown, ContentSection, } from './lib'; +import Header from './demo/Header/Header'; +import Window from './demo/Window/Window'; import icon from './assets/icon.svg'; interface RenderPropTypes { @@ -23,7 +21,6 @@ interface RenderPropTypes { style: React.CSSProperties; } - const useStyles = makeStyles(theme => ({ window: { padding: theme.spacing(4), -- cgit v1.2.3 From 0e6cffbb2748bcebe6c53026099a0e610230a650 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 10 Oct 2020 14:06:21 +0300 Subject: fix: resolve eslint error --- src/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/index.tsx') diff --git a/src/index.tsx b/src/index.tsx index 404ac16..5ba33a0 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -99,7 +99,8 @@ const LivePreviewPage: React.FC = ({ setLivePreviewData }) => {

Start typing and see your text rendered on the left window! - You can find the list of all Markdown features {' '} + You can find the list of all Markdown features + {' '} here -- cgit v1.2.3