forked from clintonwoo/hackernews-react-graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathformatdoc.tsx
52 lines (48 loc) · 1.54 KB
/
formatdoc.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import * as React from 'react';
import { MainLayout } from '../src/layouts/main-layout';
import { withDataAndRouter } from '../src/helpers/with-data';
export function FormatDocPage(props): JSX.Element {
const { router } = props;
return (
<MainLayout
isFooterVisible={false}
isNavVisible={false}
currentUrl={router.pathname}
title="Formatting Options"
>
<tr>
<td>
<span className="admin">
<div style={{ textAlign: 'center' }}>
<table style={{ width: '500px' }}>
<tbody>
<tr>
<td>
Blank lines separate paragraphs.
<p>
Text after a blank line that is indented by two or more spaces is reproduced
verbatim. (This is intended for code.)
</p>
<p>
Text surrounded by asterisks is italicized, if the character after the first
asterisk isn't whitespace.
</p>
<p>
Urls become links, except in the text field of a submission.
<br />
<br />
</p>
</td>
</tr>
</tbody>
</table>
</div>
</span>
<br />
<br />
</td>
</tr>
</MainLayout>
);
}
export default withDataAndRouter(FormatDocPage);