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

Code Blocks Formatting Lost When Exporting Notes to PDF #15

Open
rachidje opened this issue Jan 14, 2025 · 0 comments
Open

Code Blocks Formatting Lost When Exporting Notes to PDF #15

rachidje opened this issue Jan 14, 2025 · 0 comments

Comments

@rachidje
Copy link

rachidje commented Jan 14, 2025

When exporting notes containing code blocks (e.g., Python, JavaScript, or other programming languages) to PDF, the formatting of the code blocks is lost. Instead of being properly formatted and highlighted as they appear in the Evernote editor, the code is exported as plain text.

This issue significantly impacts users who rely on Evernote for technical documentation, as it makes exported PDFs less readable and harder to use for sharing or presentation purposes.

Steps to Reproduce:

Create a new note in Evernote.
Insert a code block (e.g., a Python snippet) with syntax highlighting.
Export the note to a PDF file.
Open the PDF file and observe the code block's formatting.

Expected Behavior:
Code blocks should retain their formatting and syntax highlighting when exported to PDF. The exported output should reflect how the code is displayed in the Evernote editor.

Actual Behavior:
Code blocks are exported as plain text, with no syntax highlighting or formatting.

Environment:
Evernote Version: 10.121.2
Operating System: macos Sonoma Version 14.5

Additional Context:
This feature is essential for users in technical fields who share or archive notes with code. Maintaining consistent formatting in exports enhances the usability of Evernote as a tool for technical documentation.

Would it be possible to address this issue or provide a workaround? Thank you!

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

1 participant