3 ms·
OneWayOut (owo) can export all your OneNote notes to Emacs Org Mode or any Pandoc-supported Markdown (today), and allows you to tailor the results to your best
by antonlopezr 5y ago
OneWayOut (owo) can export all your OneNote notes to Emacs Org Mode or any Pandoc-supported Markdown (today), and allows you to tailor the results to your best liking by:
1. Giving you complete control over the Pandoc call
2. Allowing you to post-process the Pandoc output with tailored Markup Packs.
You can see a test OneNote note and its Emacs Org Mode and Pandoc Markdown exports here https://github.com/alopezrivera/owo#results https://github.com/alopezrivera/owo#results
Markup Packs are markup-format-specific functions containing search and replace queries executed at runtime against the text output by Pandoc. If search and replace doesn't cut it, you can add a postprocessing scriptblock to increase your freedom.
They effectively give you control over how all is rendered, including
- Headers
- Metadata (eg: note creation date)
- Other markup elements such as horizontal lines, custom indentations and formatting, and whatever else you might be able to conjure up with the text in your notes
OneWayOut is built on the foundation of ConvertOneNote2Markdown (https://github.com/theohbrothers/ConvertOneNote2Markdown https://github.com/theohbrothers/ConvertOneNote2Markdown), by SjoerdV (https://github.com/SjoerdV https://github.com/SjoerdV), and improved by nixsee (https://github.com/nixsee/ https://github.com/nixsee/) and theohbrothers (https://github.com/theohbrothers https://github.com/theohbrothers).
Got a lot to learn so all feedback or suggestions are welcome! Thanks for checking it out :)