FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
React marked highlight
How-ToWeb Development

React marked highlight

via Dev.to ReactKenta Takeuchi12h ago

This article was originally published on bmf-tech.com . I created a markdown editor using React instead of a WYSIWYG editor. Most of the source code was referenced from React入門 . Here's a rough gif sample (:3」∠) Environment React marked( github ) - Markdown parser highlight.js( highlightjs.org ) - Syntax highlighting bower - Used for managing all the above packages Preparation Install marked and highlight.js using bower bower install marked bower install highlightjs Please install each in your environment and set the paths. It's highlightjs, not bower install highlight. They seem to be different, and I got stuck for about an hour because I made this mistake... (cry) Implementation The HTML looks like this: index.html <!DOCTYPE html> <html> <head> <meta charset= "UTF-8" /> <title> Hello React! </title> <link href= "//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel= "stylesheet" > <link href= "path/to/monokai.css" rel= "stylesheet" > <link href= "path/to/style.css" r

Continue reading on Dev.to React

Opens in a new tab

Read Full Article
3 views

Related Articles

The Inheritance Trap: How to Avoid Fragile Base Classes
How-To

The Inheritance Trap: How to Avoid Fragile Base Classes

Medium Programming • 12h ago

Eighty Years Later, the Chemex Still Makes Better Coffee
How-To

Eighty Years Later, the Chemex Still Makes Better Coffee

Wired • 13h ago

The Day I Realized Coding Is Less About Computers and More About Learning How Humans Think
How-To

The Day I Realized Coding Is Less About Computers and More About Learning How Humans Think

Medium Programming • 13h ago

The Strange Advice Engineers Eventually Hear
How-To

The Strange Advice Engineers Eventually Hear

Medium Programming • 17h ago

How-To

A Gentle Introduction to Mercury

Lobsters • 18h ago

Discover More Articles