FCC Reacted Markdown

Developer
Size
2,685 Kb
Views
8,096

How do I make an fcc reacted markdown?

What is a fcc reacted markdown? How do you make a fcc reacted markdown? This script and codes were developed by Victoria on 02 December 2022, Friday.

FCC Reacted Markdown Previews

FCC Reacted Markdown - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>FCC Reacted Markdown</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id='container'></div> <script src='https://cdnjs.cloudflare.com/ajax/libs/react/15.3.1/react.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/react/15.3.1/react-dom.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/marked/0.3.2/marked.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

FCC Reacted Markdown - Script Codes CSS Codes

.app { display: flex;
}
.app .output { width: 50%; margin: 5%; border: 1px solid blue;
}
.app textarea { width: 50%; margin: 5%;
}

FCC Reacted Markdown - Script Codes JS Codes

'use strict';
var Markdown = React.createClass({ displayName: 'Markdown', getInitialState: function getInitialState() { return { text: 'First &middot; Second' }; }, createMarkup: function createMarkup() { var rawMarkup = marked(this.state.text, { sanitize: true }); return { __html: rawMarkup }; }, handleInput: function handleInput(e) { this.setState({ text: e.target.value }); }, render: function render() { return React.createElement( 'div', { className: 'app' }, React.createElement( 'textarea', { rows: '50', onChange: this.handleInput }, this.state.text ), React.createElement( 'div', { className: 'output' }, React.createElement('div', { dangerouslySetInnerHTML: this.createMarkup() }) ) ); }
});
ReactDOM.render(React.createElement(Markdown, null), document.getElementById('container'));
FCC Reacted Markdown - Script Codes
FCC Reacted Markdown - Script Codes
Home Page Home
Developer Victoria
Username Enieste
Uploaded December 02, 2022
Rating 3
Size 2,685 Kb
Views 8,096
Do you need developer help for FCC Reacted Markdown?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Victoria (Enieste) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!