title | date | timestamp | template | slug | thumbnail | category | tags | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Title of Post |
YYYY-MM-DD |
Jun 2020 |
post |
page-slug |
./path/to/thumbnail.png |
|
|
NOTE: This "post" is based on Markdown Cheatsheet and is meant to test styling of Markdown generated documents.
Here is the Dump
component!
import React from 'react';
const Dump = props => (
<div
style={{
fontSize: 20,
border: '1px solid #efefef',
padding: 10,
background: 'white',
}}
>
{Object.entries(props).map(([key, val]) => (
<pre key={key}>
<strong style={{ color: 'white', background: 'red' }}>{key} π©</strong>
{JSON.stringify(val, '', ' ')}
</pre>
))}
</div>
);
export default Dump;