Skip to content

9.0.0

Choose a tag to compare

@RonRadtke RonRadtke released this 29 Jun 09:02

Dependency updates

I updated all dependencies to the current version

Typing & Tests

The lib got better typing in the code itself. I made a full transition to typescript and added tests to validate the lib

Plugin support

The lib now supports common mark plugins. You also can define your own markdown elements directly

Streaming support

The lib now supports markdown streaming e.g. for the output of generative AI systems

Input

I added a markdown input. For now it will display raw markdown with a preview box. The toolbar can be modified. Full support for plugins and own elements is given.
I am working also on a WYSIWYG Editor, but that will take some more time. I want to keep in on JS side only, thus it likely won't offer all markdown but only the most common elements.

Example App

I also added an example App showcasing most of the possibilities

Accessibility

I keep an eye on the accessibility and added accessibility features to everything to my best knowledge. Of course I might have missed out on sth. I also added test cases for it using react-native-accessibility-engine and the test-renderer. If you find issues, please create an issue or a PR.

Documentation rework

To give you a better overview I split the documentation in 2 files, one for the display, one for the input.

Of course I used a mixture of different coding AI systems to support here, still I tested and check everything manually as good as I can. I also am using the library in production so it is of my interest to have it stable, since I need the features myself.