html2react-json
Version:
Convert HTML/SVG text to React JSON as defined by https://github.com/gorangajic/react-render-to-json
50 lines (45 loc) • 896 B
HTML
<html>
<head>
<title>html2jsx</title>
<meta charset="utf-8" />
<link
rel='stylesheet'
href='https://unpkg.com/tachyons@4.5.3/css/tachyons.min.css'
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=VT323"
/>
<style>
body {
background: black;
margin: 0
}
main {
align-items: center;
display: flex;
justify-content: center;
min-height: 100vh;
min-width: 100vw;
}
.dragging {
background: red;
}
section {
padding: 2rem 0;
}
.text {
font-family: VT323, monospace;
font-size: 1.5rem;
margin: 0 auto;
max-width: 48rem;
padding: 2rem;
white-space: pre-wrap;
}
</style>
</head>
<body>
<div id="root"></div>
<script type="text/javascript" src="index-ce612079716caa9832ec.js"></script></body>
</html>