Skip to content

Latest commit

Β 

History

History
50 lines (40 loc) Β· 910 Bytes

template.mdx

File metadata and controls

50 lines (40 loc) Β· 910 Bytes
title date timestamp template slug thumbnail category tags
Title of Post
YYYY-MM-DD
Jun 2020
post
page-slug
./path/to/thumbnail.png
category 1
category 2
category 3
tag 1
tag 2
tag 3

NOTE: This "post" is based on Markdown Cheatsheet and is meant to test styling of Markdown generated documents.

Yes! Some code!

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;