This plugin is for pasting formatted text and provide sub-menu options inside it to paste from user clipboard. The sub-menu will contain options for file formats like Paste Excel or CSV as markdown table.
The plugin is built using Webpack, which creates the compiled code in /dist
. A JPL archive will also be created at the root, which can use to distribute the plugin.
To build the plugin, simply run npm run dist
.
The project is setup to use TypeScript, although you can change the configuration to use plain JavaScript.
To test the plugin, simply run npm test
.
This project is setup to use Jest, for testing purposes.
To update the plugin framework, run npm run update
.
In general this command tries to do the right thing - in particular it's going to merge the changes in package.json and .gitignore instead of overwriting. It will also leave "/src" as well as README.md untouched.
The file that may cause problem is "webpack.config.js" because it's going to be overwritten. For that reason, if you want to change it, consider creating a separate JavaScript file and include it in webpack.config.js. That way, when you update, you only have to restore the line that include your file.
- Create UI layouts of plugin
- Create base structure of plugin
- Write code for parsing CSV
- Write code for conversion of parsed CSV to Markdown Table
- Write test cases for the code
- Submit first version for community feedback of the plugin.
- Submission of the first evaluation.
- University final exams period (from 26th June to 15th July)
- University final exams period (from first of July until 15th)
- Implement any feedback from the community and/or bugs.
- Implement any leftover feedback from the community and/or bugs.
- Create layout for more menu options for Paste Special Plugin (i.e. PDF to MD, HTML to MD etc. (if approved))
- Write code for the decided option and it's test cases.
- Test plugin boundary cases
- Get community feedback of the plugin
- Review all code and cleanup.
- Code delivery.
- Mentor Evaluation.
- Helmut K. C. Tessarek (@tessus)
- Stefan (@PackElend)