Open Nan-Do opened 1 year ago
Could you try 0.1.25 and verify if the problem is present there too?
Sure! I just have tried with version 0.1.25 and the output is exactly the same in regards with the python formatting issue. The same behavior of ignoring the initial spacing also happens with pdf-to-markdown
I'm trying to convert some files that contain python code but the tool doesn't respect the original formatting and prints the files without any spacing. For example, a pdf containing the following text:
Is translated into:
In this case, it doesn't detect it as a code block, in some other examples, the tool detects the code blocks correctly but still removes the initial spacing. One such example is this book
Is there a way to force the tool to respect the original formatting?