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

style: run prettier on learn #20538

Merged
merged 7 commits into from
Sep 11, 2022
Merged

style: run prettier on learn #20538

merged 7 commits into from
Sep 11, 2022

Conversation

nschonni
Copy link
Contributor

This was run with embeddedLanguageFormatting off to reduce noise

@nschonni nschonni requested review from a team as code owners September 11, 2022 03:52
@nschonni nschonni requested review from teoli2003, schalkneethling and estelle and removed request for a team September 11, 2022 03:52
@github-actions github-actions bot added the Content:Learn Learning area docs label Sep 11, 2022
@github-actions

This comment was marked as resolved.

@nschonni nschonni marked this pull request as draft September 11, 2022 04:08
@nschonni
Copy link
Contributor Author

Prettier is removing the escaping for tags inside of alt text for images causing Markdownlint issues. I think prettier is correct, so I've flipped this to draft and raised DavidAnson/markdownlint#579

@nschonni nschonni marked this pull request as ready for review September 11, 2022 06:20
@nschonni
Copy link
Contributor Author

I re-escaped the tags to make Markdownlint happy. There were one or 2 other minor prettier ones I ran into later that might need workarounds, so this doesn't need to wait for an upstream fix

@teoli2003 teoli2003 merged commit 4f6ba2f into mdn:main Sep 11, 2022
@nschonni nschonni deleted the prettier-learn branch September 11, 2022 17:36
himanshugarg pushed a commit to himanshugarg/content that referenced this pull request Sep 27, 2022
* style: run prettier on learn

* fix: re-escape tags in alt for Markdownlint

* Update files/en-us/learn/html/introduction_to_html/the_head_metadata_in_html/index.md

Co-authored-by: Jean-Yves Perrier <[email protected]>

* Update files/en-us/learn/common_questions/what_are_browser_developer_tools/index.md

Co-authored-by: Jean-Yves Perrier <[email protected]>

* Update files/en-us/learn/common_questions/what_are_browser_developer_tools/index.md

Co-authored-by: Jean-Yves Perrier <[email protected]>

* fix: replace HTML only alt text

* Remove extra trailing spaces

Co-authored-by: Jean-Yves Perrier <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:Learn Learning area docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants