A plugin which allows the user to export the EditorJS data to Markdown and import it from Markdown.
I intend to use the editor which should be exported/imported from Markdown.
To get a local copy up and running follow these simple steps.
- yarn
- Clone the repo
git clone https://github.com/stejul/editorjs-markdown-parser
- Install packages
yarn
- Load up the bundled file (
dist/bundle.js
) in you document. - Add the Importer/Exporter to the EditorJS tools.
const editor = new EditorJS({
autofocuse: true,
tools: {
markdownParser: MDParser,
markdownImporter: MDImporter,
},
};
The Plugin can now be used in the Editor-Toolbar
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
- Lukas Gabsi - Helped me with his JS expertise