Giter Club home page Giter Club logo

preview-mark's Introduction

Preview-mark

PreviewMark enables you to write, render, preview and share the markdown that you write.
Work in progress 👷

Learnings

  • Configuring a React project using Typescript
  • Using typescript for react
  • Using TailwindCSS to create UI's.
  • HTML converts multiple newline into a single whitespace. This doesn't allow use to use newline in textarea and use it for the preview since HTML converts the newlines into whitespace. source
  • Adding custom renderer to marked. This was required since tailwind defaults all the heading tags. Used the docs of marked.
  • Using localStorage to persist browser state
  • Solved the gh-pages issue with react-router using source
  • Learned about the usecase of HashRouter. And the incompetence of react routing which creates confusion between server side and client side routing.

Tech Stack

Client: React+Typescript, TailwindCSS
API: Deta Micro

Authors

preview-mark's People

Contributors

bonniesimon avatar smidhunkks avatar

Stargazers

 avatar

Watchers

 avatar  avatar

preview-mark's Issues

Add tooltip to the publish button.

Tooltip can be implemented either using custom CSS code or by using a library (however using a library would require you to discuss with the maintainer).

Further, the tooltip can be used for other parts of the app as well.

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.