Which pandoc version are you using, and which syntax are you using for bold? Den ons 8 juni 2022 15:21'Léna Montenot' via pandoc-discuss < pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> skrev: > Hello ! > > Unfortunaly, using the following command : > > pandoc -f mediawiki -t markdown -o file_output.md file_input > > It parses some of the italic, but most are still parsed and now the bold > is also wrong too :/ > > Le mercredi 8 juin 2022 à 14:37:37 UTC+2, BPJ a écrit : > >> 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-...-/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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/93c42bf9-fdbd-42e8-a64b-5365044c369cn%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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhD9DVHm4AMCZiJ_emnFevp7%3D5BX_L8d_J%3DG1QDHYttvXA%40mail.gmail.com.