... | ... | @@ -36,14 +36,11 @@ In order to convert OneNote pages to Markdown to ember into GitLab Wiki pages (o |
|
|
|
|
|
- I assume here you are working on a Windows 10 PC. Change the instructions accordingly for Linuc or MacOs
|
|
|
- Install [Pandoc, a universal document converter](https://pandoc.org/installing.html)
|
|
|
- Install [Panwriter, a GUI for Pandoc](https://panwriter.com/)
|
|
|
- In OneNote
|
|
|
- Select the pages you want to convert as one single document
|
|
|
- Export the pages as a .docx file, by right-clicking on the tab header for the selected pages and clicking Ëxport"
|
|
|
- Import the .docx file in Pandoc
|
|
|
- On the left Pancod pane, you get the Markdown and you can save it or cut&paste whenever you need.
|
|
|
- Run Pandoc on the command line like this:
|
|
|
|
|
|
- Alternatively you can use directly Pandoc on the command line like this:
|
|
|
```
|
|
|
pandoc.exe -f docx -t markdown -i inputFfile.docx -o output_file.md
|
|
|
pandoc.exe -f docx -t gfm -i inputFfile.docx -o output_file.md --wrap=none --markdown-headings=atx
|
|
|
``` |
|
|
\ No newline at end of file |