feat: using markdown component

This commit is contained in:
원더 2021-01-29 20:29:22 +09:00
parent f5e6a536fd
commit b46fd030a3

View File

@ -182,37 +182,7 @@ const Bots: NextPage<BotsProps> = ({ data, date }) => {
<div className='markdown-body pt-10 w-full lg:pr-5 lg:w-3/4'>
<Advertisement />
<Segment>
<h1> .</h1>
<h2> </h2>
<code>yee</code>
<br />
<br />
<pre> </pre>
<hr />
<table>
<thead>
<tr>
<th>foo</th>
<th>bar</th>
</tr>
</thead>
<tbody>
<tr>
<td>pizza</td>
<td>apple</td>
</tr>
</tbody>
</table>
<ul className='list-disc'>
<li>first</li>
<li>second</li>
</ul>
<ul className='list-decimal'>
<li>first</li>
<li>second</li>
</ul>
<Markdown text={data.desc}/>
</Segment>
<Advertisement />
</div>