Do you mean TWiki or MediaWiki?
If I am not mistaken the TWiki syntax for italics is _italic_ while ''italic'' (with double single quotes) is MediaWiki syntax.

Using the proper input format for each syntax gives the expected results:

% pandoc -f twiki -t native
_italic_
[ Para [ Emph [ Str "italic" ] ] ]

% pandoc -f mediawiki -t native
''italic''
[ Para [ Emph [ Str "italic" ] ] ]

While mismatched input format—syntax does not work, which is also expected:

% pandoc -f twiki -t native
''italic'"
[ Para [ Str "''italic'\"" ] ]

% pandoc -f mediawiki -t native
_italic_
[ Para [ Str "_italic_" ] ]

It seems your wiki files are mediawiki instead of twiki, in which case you should specify mediawiki as input format. In case you have a mixture of both the presence of double and triple single quotes is a pretty sure indicator that you have a mediawiki file.

Den ons 8 juni 2022 13:59'LĂ©na Montenot' via pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> skrev:
Hello,

I want to use Pandoc to export some wiki articles towards a new platforms. However, whenever I'm converting a TWiki file to Markdown, while the bold sections are parsed correctly, the italics are being replaced from '' to \'\' which is not ideal to automate the process.

Is there any fix available ? Thank you :)

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.orgm.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d525341c-9366-436b-bcf1-783e753da718n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhCJRtNBGPZPf_b%2BCLEDg5r84g0-qJFu%2B%2BMcbRpm04LSTw%40mail.gmail.com.