Git Product home page Git Product logo

siddhantsiddh15 / markdown-editor Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4 KB

We have come across editors a lot while writing blog posts, IDE, word documents and there is some solid logic working behind them as well. I tried implementing a simple code editor which following supported formats which you can use to test this project, the right side text is showing how to use the specific property

HTML 15.41% JavaScript 57.16% CSS 27.43%

markdown-editor's Introduction

The project contains working with Dom to show an editor where we enter the text in certain format and we can see it as in a custom format. Here the supported formats which you can use to test this project, the right side text is showing how to use the specific property

Bold - ** sample text ** Italic - * sample text * Heading 1 - # sample text Heading 2 - ## sample text Highlight - == sample text == Ordered List - 1. sample text Unordered List - - sample text Link - [sample text](sample link)

Along with this the project allows the user to toggle between dark and light mode as well which use the inherit property at most number of places in the css file and toggle property in script.js file.

The concepts used in this project

  1. Regex
  2. Handling DOM
  3. Toggling the classes of HTML element
  4. Handling string using string functions provided by JavaScript
  5. forEach functions
  6. Handling events such as input, click.

Here is the link to the project. https://siddhantsiddh15-markdown-editor.netlify.app/

The project was made using the instructions from codedamn.

markdown-editor's People

Contributors

siddhantsiddh15 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.