Skip to content

6.1.0

Compare
Choose a tag to compare
@iamacup iamacup released this 12 May 21:07
· 65 commits to master since this release
  • 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 this import MarkdownIt from 'react-native-markdown-display/src/MarkdownIt'; to import 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 wrapped markdown-it plugins, but we already expose the markdown-it instance and allow for changes to it - hangover from react-native-markdown-display

  • Removed the PluginContainer export (this was used with the plugins property)

  • Updated the readme with a full plugin example

  • Removed the export of BlockPlugin - hangover from react-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