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

Document-level indent causes spaces after quoted lines to wrap #68

Closed
meowgorithm opened this issue May 21, 2020 · 0 comments · Fixed by #317
Closed

Document-level indent causes spaces after quoted lines to wrap #68

meowgorithm opened this issue May 21, 2020 · 0 comments · Fixed by #317
Assignees
Labels
bug Something isn't working renderer Everything related to the markdown renderer

Comments

@meowgorithm
Copy link
Member

meowgorithm commented May 21, 2020

This appears to happen when the width is 120 columns or wider either set automatically based on the width of the terminal or when set with the -w/--width flag. I noticed this behavior with the former version of the styles that started out as such:

{
  "document": {
    "block_prefix": "\n",
    "block_suffix": "\n",
    "indent": 2
  },

Note that this is not the case when a document-level margin is set instead.

Here's a screenshot of the incorrect behavior at 120 chars (see the tput cols output that bottom):

Screen Shot 2020-05-21 at 11 38 49 AM

Here it's okay at 121 chars:

Screen Shot 2020-05-21 at 11 40 03 AM

@muesli muesli added renderer Everything related to the markdown renderer bug Something isn't working labels Oct 12, 2022
@caarlos0 caarlos0 self-assigned this Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working renderer Everything related to the markdown renderer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants