Coder Social home page Coder Social logo

davigl / markdown-previewer Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 603 KB

✍️ fancy markdown previewer

Home Page: https://eudavi-markdown-previewer.netlify.com/

CSS 18.98% HTML 64.11% JavaScript 16.91%
markdown-editor markdown-viewer markdown-previewer

markdown-previewer's Introduction

📇 Markdown Previewer

📄 Type in Markdown to see your compiled Markdown text. Visit the project by clicking here.


How does it looks? 🤔

User Stories 🙆‍♀️

  • User Story #1: I can see a textarea element with a corresponding id="editor".
  • User Story #2: I can see an element with a corresponding id="preview".
  • User Story #3: When I enter text into the #editor element, the #preview element is updated as I type to display the content of the textarea.
  • User Story #4: When I enter GitHub flavored markdown into the #editor element, the text is rendered as HTML in the #preview element as I type (HINT: You don't need to parse Markdown yourself - you can import the Marked library for this: https://cdnjs.com/libraries/marked).
  • User Story #5: When my markdown previewer first loads, the default text in the #editor field should contain valid markdown that represents at least one of each of the following elements: a header (H1 size), a sub header (H2 size), a link, inline code, a code block, a list item, a blockquote, an image, and bolded text.
  • User Story #6: When my markdown previewer first loads, the default markdown in the #editor field should be rendered as HTML in the #preview element.
  • Optional Bonus (you do not need to make this test pass): My markdown previewer interprets carriage returns and renders them as br (line break) elements.

License

Copyright © 2020, Davi Guimarães.

markdown-previewer's People

Contributors

davigl avatar

Watchers

 avatar  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.