Code Monkey home page Code Monkey logo

reactxp-markdown's Introduction

reactxp-markdown npm version

Plugin for ReactXP that provides support for Markdown for Web, Android and iOS.

This repo is archived due to ReactXP having reached End of life
Please consider moving to ReactNative for web

Based on react-native-markdown-renderer.

Installation

npm install --save reactxp-markdown

Updates

Version 0.2.0

  • Added support for the following inline HTML rules: <b>, <i>, <a>, <em>, <strong>

Version 0.1.1

  • Fixed crash when using inline html rules

Version 0.1.0

  • Migrated react-native to version 0.61.5
  • Updated dependencies

Version 0.0.8

  • Updated dependencies to fix vulnerabilities

Version 0.0.5

  • Made text selectable (web)
  • Fixed text wrap in web
  • Fixed image loading in iOS

Documentation

See react-native-markdown-renderer

Hint: If images are not showing up on iOS, enable typographer in the MarkdownIt settings.

Prerequisites

Samples

License

This project is licensed under the MIT License - see the LICENSE file for details

reactxp-markdown's People

Contributors

dependabot[bot] avatar fulanko avatar

Stargazers

 avatar

Watchers

 avatar  avatar

reactxp-markdown's Issues

Regressions?

Apologies if this is still in flux. I noticed a couple of potential regressions. In the 0.0.2 version, I could pass selectable={true} and could select text. As well, long lines of text would wrap, now they no longer wrap.

image

React state update on unmounted component

I get this one consistently:

image

It happens when I transition to a component (using reactxp's navigation) that has a markdown image. If I reload the page or load it directly, it doesn't have this problem.

Thanks!

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.