Microsoft OneNote Add-in to save OneNote page as Markdown file.
This repository contains the source code generated by the Yo Office generator
This Add-in uses the Turndown Javascript package to convert the OneNote page to Markdown format.
The Add-in requires a web server. To run it locally:
-
Clone this repository.
-
Navigate into the Scorpio folder, which contains the
package.json
file.cd Scorpio
-
Install dependencies.
npm install
-
Start the local web server.
npm run dev-server
-
In OneNote on the web, open a notebook and create a new page.
-
Choose Insert > Office Add-ins to open the Office Add-ins dialog. Then select the MY ADD-INS tab to upload the
manifest.xml
in the Scorpio folder. -
In the Home tab, click on the Scorpio Markdown button in the ribbon. This will open the add-in task pane to show the markdown.
This template supports debugging using any of the following techniques:
- Use a browser's developer tools
- Attach a debugger from the task pane
- Use F12 developer tools on Windows 10
See also: