Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello, if you set the output to markdown format, but the final output data is not in MARKDOWN format? #12

Open
liuhuan-gl opened this issue Sep 2, 2024 · 7 comments

Comments

@liuhuan-gl
Copy link

Hello, if you set the output to markdown format, but the final output data is not in MARKDOWN format?

@sky-fly97
Copy link
Collaborator

sky-fly97 commented Sep 3, 2024

Hello, if you set the output to markdown format, but the final output data is not in MARKDOWN format?

Hi, Can you show your example?

@liuhuan-gl
Copy link
Author

Hello, if you set the output to markdown format, but the final output data is not in MARKDOWN format?

Hi, Can you show your example?

However, the latex format file cannot be displayed correctly when converted to markdown format file

@sky-fly97
Copy link
Collaborator

Hello, if you set the output to markdown format, but the final output data is not in MARKDOWN format?

Hi, Can you show your example?

However, the latex format file cannot be displayed correctly when converted to markdown format file

Currently our model only supports latex format output. Since markdown format doesn't support merged cells, as shown in the code of demo.py, some simple tables that do not contain merged cells can be converted by the pypandoc tool, but if it is a complex table may not work.

@liuhuan-gl
Copy link
Author

liuhuan-gl commented Sep 3, 2024

Hello, if you set the output to markdown format, but the final output data is not in MARKDOWN format?

Hi, Can you show your example?

However, the latex format file cannot be displayed correctly when converted to markdown format file

Currently our model only supports latex format output. Since markdown format doesn't support merged cells, as shown in the code of demo.py, some simple tables that do not contain merged cells can be converted by the pypandoc tool, but if it is a complex table may not work.

image
image
image
The third picture shows the markdown output using the method in the first picture. According to the results, the correct markdown file was not successfully output. How can I solve this problem?

@sky-fly97
Copy link
Collaborator

sky-fly97 commented Sep 3, 2024

This is my output.
Screenshot from 2024-09-03 14-44-29

@sky-fly97
Copy link
Collaborator

You can see if the latex code is correct, if it is correct it may be a problem with pypandoc, the version I use is 1.13.

@liuhuan-gl
Copy link
Author

liuhuan-gl commented Sep 6, 2024

You can see if the latex code is correct, if it is correct it may be a problem with pypandoc, the version I use is 1.13.

Thank you, the problem is solved. When downloading the model file, version 1 and version 2 should be confused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants