Skip to content

Conversation

@seiyab
Copy link
Collaborator

@seiyab seiyab commented Jan 25, 2024

#15909 (comment)
Now I'm sure that every diff shown in prettier/prettier-regression-testing#435 (comment) is bug fix.

Description

Checklist

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory).
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

Try the playground for this PR

@seiyab seiyab mentioned this pull request Jan 25, 2024
4 tasks
@fisker
Copy link
Member

fisker commented Jan 26, 2024

Can you put these code blocks in separate files and make them "ugly" first?

@seiyab
Copy link
Collaborator Author

seiyab commented Jan 26, 2024

OK. Does "making them ugly" mean make inputs ugly keeping AST? Or emphasize bug in output tweaking AST?

@fisker
Copy link
Member

fisker commented Jan 26, 2024

"making them ugly"

You can just put two extra lines on top, since we silently fail on embed format, it's not clear the code block is formatted or not.

@seiyab
Copy link
Collaborator Author

seiyab commented Jan 26, 2024

@fisker
I splitted and uglified them.

@fisker fisker merged commit b267831 into prettier:main Jan 26, 2024
@fisker
Copy link
Member

fisker commented Jan 26, 2024

Great! Thank you!

@seiyab seiyab deleted the add-tests-for-embedded-code-in-markdown branch January 26, 2024 12:15
medikoo pushed a commit to medikoo/prettier-elastic that referenced this pull request Feb 18, 2024
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

Successfully merging this pull request may close these issues.

2 participants