6.1.0
-
A non existent rule will now no longer fatally error out if found, instead the unknown rule will be rendered (which, by default, renders null (nothing)) and instead a console.warn is shown.
-
Changed import location of MarkdownIt - if you were using a custom
markdown-it
instance and importing it from this library - just change thisimport MarkdownIt from 'react-native-markdown-display/src/MarkdownIt';
toimport Markdown, { MarkdownIt} from 'react-native-markdown-display';
-
The
plugins
property is completely removed, if you used it previously, you need to use a custom MarkdownIt instance instead and apply the plugins directly, see the updated readme file for plugin example. This was removed because it was a custom component that wrappedmarkdown-it
plugins, but we already expose the markdown-it instance and allow for changes to it - hangover fromreact-native-markdown-display
-
Removed the
PluginContainer
export (this was used with theplugins
property) -
Updated the readme with a full plugin example
-
Removed the export of
BlockPlugin
- hangover fromreact-native-markdown-display
-
Fixed an error when specifying a non default style with mergeStyles={true} - the non default style is not added
-
thanks to @rajivshah3 for fixing the gitignore here: #64
-
Updated dependencies