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

Not capture code correctly #8

Open
thu2004 opened this issue Nov 5, 2024 · 3 comments
Open

Not capture code correctly #8

thu2004 opened this issue Nov 5, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@thu2004
Copy link

thu2004 commented Nov 5, 2024

Please study the pictures from web page and the save md file. The code format
Screenshot 2024-11-05 at 12 05 29
Screenshot 2024-11-05 at 12 02 57
ting is missing.

@yaph
Copy link
Owner

yaph commented Nov 9, 2024

Thanks for reporting. I tried different options in the turndown library, but haven't found a solution so far. Let me know, if you have any suggestions.

@yaph yaph added the help wanted Extra attention is needed label Nov 9, 2024
@BrunoWinck
Copy link

BrunoWinck commented Nov 29, 2024

Same problem :)

Maybe use preformattedCode=true in turndown.

@yaph
Copy link
Owner

yaph commented Nov 29, 2024

Maybe use preformattedCode=true in turndown.

Thanks for the suggestion @BrunoWinck. Sadly, it doesn't fix the problem. I also tried setting the codeBlockStyle and fence options, which didn't fix it either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants