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

[Feature Request] code blocks in imported ePUB files #216

Open
4 tasks done
jokeyrhyme opened this issue Sep 14, 2024 · 0 comments
Open
4 tasks done

[Feature Request] code blocks in imported ePUB files #216

jokeyrhyme opened this issue Sep 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jokeyrhyme
Copy link

Checklist

  • This issue contains only one feature request. I will open one issue for every feature I want to request.
  • I checked, but didn't find any duplicates (open OR closed) of this issue in the repo.
  • This feature is merely an UI/UX update.
  • This feature is not going to conflict with many of the existing features/options.

Is your feature request related to a problem? Please describe.

I mostly read programmer books which tend to have code blocks (I'm not sure what the ePUB standard says, but I'm guessing it's something like <code>let ABC = 123;</code>)

In print form, and in some other eBook readers, these blocks would use a monospace font

I noticed in Myne that they do not e.g. go to the Hello World chapter in this ePUB that can be dowblaoded here: https://golang-for-python-programmers.readthedocs.io/en/latest/about.html#resources

Describe the solution you'd like

I'd love for Myne to use a monospace font to render the contents of these blocks, and it might also be necessary to preserve white space (for indented code as intended by the author)

How will you/everyone benefit from this feature?

I believe this would help Myne users read and enjoy any content that makes use of code blocks

Additional context

Thanks so much for sharing the project! <3

@jokeyrhyme jokeyrhyme added the enhancement New feature or request label Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant