Skip to content

sohumcs/markdown-previewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markdown Previewer Description

I created a vibrant Markdown Previewer using React, HTML, CSS, JavaScript, marked, and Prism.js. Empowering users to effortlessly write and preview Markdown content with real-time updates.

Technologies Used

  • React: Crafted the UI with this powerful JavaScript library.
  • HTML and CSS: Utilized standard web technologies for elegant layout and styling.
  • JavaScript: Implemented dynamic behavior and interactivity.
  • marked: Transformed plain text into formatted HTML for live preview.
  • Prism.js: Enhanced code snippets with a lightweight syntax highlighter.

Components

  • Editor Component: Users input Markdown content here, triggering real-time updates.
  • Previewer Component: Dynamically renders parsed HTML, updating as users type.

Markdown Parsing and Rendering

Relied on the marked library to convert Markdown to HTML, ensuring seamless parsing and rendering.

Code Syntax Highlighting

Integrated Prism.js for captivating syntax highlighting, elevating code readability.

Styling

Applied custom CSS for an appealing user interface, focusing on layout, typography, and additional design elements.

Features

  • Live Preview: Experience real-time rendering for immediate feedback.
  • Code Syntax Highlighting: Prism.js ensures enhanced readability of code snippets.
  • External Links: Open in a new tab for a seamless browsing experience.

Deployment

Easily deployable to GitHub Pages, providing public access to the Markdown Previewer.

In summary, my Markdown Previewer offers a dynamic and visually appealing platform for writing, previewing, and formatting Markdown content, featuring Prism.js for code syntax highlighting.

About

I crafted a Markdown Previewer using React, HTML, CSS, and JavaScript. It enables users to write and instantly preview Markdown content with live updates. Features include syntax highlighting for code snippets using Prism.js. The app is easily deployable on GitHub Pages for accessible usage.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors