开源软件名称(OpenSource Name):kunall17/react-native-markdown-editor开源软件地址(OpenSource Url):https://github.com/kunall17/react-native-markdown-editor开源编程语言(OpenSource Language):JavaScript 77.7%开源软件介绍(OpenSource Introduction):react-native-markdown-editorThis is a library for rendering a markdown editor for the markdown with helper buttons to easily write markdown. With live preview markdown as well (thanks to https://github.com/Benjamin-Dobell/react-native-markdown-view) IndexGetting StartedInstall the node module:
or with npm:
Then see Usage for futher details ScreenshotsScreenshot: Features
Markdown where editor helps (in order for the default format)
Bold Text Italic Text Underline text
Url Links:
This is an < h1 > tagUsageImport the editor through
And use like this this in the jsx
And pass a function
It can be used with a toolbar and have a submit menu option there! CustomizingYour own custom formatsYou can give a custom list of buttons you want to give the default is Formats by speicifying
Customize the helper buttonYou can customize the helper button using the markdownButton can be method like
Where item is an each object in the Formats list You can also import the methods used in Formats by using
Customize the renderButton stylesYou can add a style key in the Formats.js and this will be used while rendering the button
Props
ContributingPR's/Issues/Bugs or suggestions are welcomed. Please post them at https://github.com/kunall17/react-native-markdown-editor/issues. LicenseThe MIT License. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论