We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
textWrap: "always"
Describe the bug
When dprint finds inline code crossing a line boundary, it will not rewrap it, even though white space is not meaningful in inline code blocks.
dprint-plugin-markdown version: 0.17.8
Input Code
This is a line with `code wrap`.
{ "lineWidth": 20, "textWrap": "always" }
Expected Output
Actual Output
Playground
https://dprint.dev/playground/#code/CoCwlgzgBJUIZQDZgHYFMoHcwBcRQAMBjAewBM0AoTAJzgAcCA6IA/config/N4KABGBEA2CWB2BTA6rAJgFwBaQFxgCYAGAGnCg0QA8NkAnAQwAc8oHoB3BgTwGdIQAXxBA/plugin/markdown
The text was updated successfully, but these errors were encountered:
infra: update dprint-plugin-markdown for inline code fix
5bf8642
Correctly applies line wrapping to inline code blocks. See [the issue][129] and [fix PR][fix] for more details. [issue]: dprint/dprint-plugin-markdown#129 [fix]: dprint/dprint-plugin-markdown#130
Successfully merging a pull request may close this issue.
Describe the bug
When dprint finds inline code crossing a line boundary, it will not rewrap it, even though white space is not meaningful in inline code blocks.
dprint-plugin-markdown version: 0.17.8
Input Code
Expected Output
Actual Output
Playground
https://dprint.dev/playground/#code/CoCwlgzgBJUIZQDZgHYFMoHcwBcRQAMBjAewBM0AoTAJzgAcCA6IA/config/N4KABGBEA2CWB2BTA6rAJgFwBaQFxgCYAGAGnCg0QA8NkAnAQwAc8oHoB3BgTwGdIQAXxBA/plugin/markdown
The text was updated successfully, but these errors were encountered: