Trying to convert docx to xwiki using pandoc.
Workaround using commonmark:
I tested several direct and indirect conversions between syntaxes using pandoc, and the one that works best is from docx to commonmark, then pasting in xwiki editor using commonmark syntax, then switching syntax to xwiki 2.1.
The correct input and output is:
Bullet list
- Asdf asdf
- Asdf asdf
- Asd fasdf asd
- F asd fasdf
Multi-level bullet list
- Asd fasdf asdf
- Asdf
- Asd
- F a
- Sdf
- Asdf
- Asdfasdfasd fasdf asdf
- Asdf
Numbered list
- Asd fa
- Sdf
- Asd
- F as
- Df
Multi-level numberered list
- Asd fasdf
- Asdf
- Asd
- F asd
- Fas df
- asdfasdf
1. Asdf
2. Asd
3. asdf
Links
Issues with pandoc docx to xwiki
When I use pandoc to directly convert docx to xwiki, the external links, bullet lists and numbered hierarchical lists are coming out not well in the final display:
Bullet list
-
Asdf asdf
-
Asdf asdf
-
Asd fasdf asd
-
F asd fasdf
Multi-level bullet list
-
Asd fasdf asdf
-
Asdf
-
-
Asd
-
-
-
F a
-
-
-
Sdf
-
-
-
-
Asdf
-
-
-
-
-
Asdfasdfasd fasdf asdf
-
-
-
-
-
Asdf
-
-
Numbered list
-
Asd fa
-
Sdf
-
Asd
-
F as
-
Df
Multi-level numberered list
-
Asd fasdf
-
Asdf
-
Asd
-
-
F asd
-
-
-
Fas df
-
-
-
asdfasdf
-
-
-
-
Asdf
-
-
-
-
-
Asd
-
-
-
-
-
asdf
-
-
Links
pandoc docx to xwiki output.txt (1.2 KB)