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

whitespaces are lost in html generated from docs/reference/string-literals.md #193

Open
vemoo opened this issue Jul 2, 2022 · 0 comments

Comments

@vemoo
Copy link
Contributor

vemoo commented Jul 2, 2022

In the source file string-literals.md there are a couple of places that have multiple consecutive white spaces. For example:

This is equivalent to "\n    Hello,\n      world\n". The initial `{""}` disables all subsequent margin stripping.

but those are lost after converting it to html:

This is equivalent to "\n Hello,\n world\n". The initial {""} disables all subsequent margin stripping.

@vemoo vemoo mentioned this issue Jul 2, 2022
bors bot added a commit that referenced this issue Jul 13, 2022
194: setup prettier r=nikomatsakis a=vemoo

I have left prettier default settings, but I'm open to suggestions.

Prettier can also format *.md files, but I have excluded them for now because it removes the whitespaces I mention in #193.

Co-authored-by: Bernardo Uriarte <[email protected]>
bors bot added a commit that referenced this issue Jul 13, 2022
194: setup prettier r=nikomatsakis a=vemoo

I have left prettier default settings, but I'm open to suggestions.

Prettier can also format *.md files, but I have excluded them for now because it removes the whitespaces I mention in #193.

Co-authored-by: Bernardo Uriarte <[email protected]>
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