fisker Cheung
fisker Cheung
@tats-u Merged main into this branch, want continue work on it?
You can push clone and push this to your fork. My plan is keep MDX unchanged, upgrade markdown first. Then we'll upgrade mdx.
> You took the action merge, which makes it difficult to rebase next time, instead of rebase. Because it's hard to rebase, we can also do merge next time.
The old mdx parse logic is kept in `src/language-markdown/parser-mdx.js`, we can leave it alone for now. The hard part is we need change markdown print part. If it's necessary, we...
@j-f1 I think I have made great progress here now. In this PR, let's focus on the markdown parsing, I kept the `mdx` parser untouched, it still using `unified@9` and...
The AST_COMPARE test can test if the AST changed. Eg: https://github.com/prettier/prettier/actions/runs/9626611049/job/26552757384?pr=13676#step:6:2509
> submitting PR against prettier:remark-11 directly fine? You can do that
I'm afraid we are not going to accept this before we find a better solution. See #7573 #7576 #6626
I like this, I havn't seen any tests on `??` operator, can you add some?
Wow, this prints this real-world case exactly as I expect. https://github.com/prettier/prettier/blob/main/src/language-js/print/angular.js#L68-L77 **Prettier pr-11103** [Playground link](https://deploy-preview-11103--prettier.netlify.app/playground/#N4Igxg9gdgLgprEAuExgB0oAIe8lAZxiwIAsIBXAGwBMA5CGABQCcBLWAYQiuiwF5MuYVjYE6AcwBiEFgHkAZgAooEGnAA0oqOoAeWgA4BDFghgN1ASiwAfG0JE4lzjnoH9+WAIxYAZL4dHJ1V1ADoAazgAT1CoIwBbOHdPdBAYUgRU2xssELgI6NiEpI8UkDgqAjhUy2s7QKClVzhdZKwAJj8A7CDhPIKYuMS21IqqrP8G3uNTWAt8gCM1KIBtZtaAWm8AXVCYKIMSjynerFS6AHEAWTYwFggCKNgjXQBpaLgaAFFdA1MCAhsaATbqnXAzMzzUJLGirdZYLZeXaRQbFEZpDJQGrWSY9aYmSFqRbLFYABl2+0O6MuNzuDyeMBePz+cABQKxIEsAG5MABfXkgDQgCAGGDsgjIUAme4AdyYBMIyBARioMqMUQlQoWLCMYEiMAAysUADIcODIBQqqpanV6uCG4xgDgSZAwFgUTTleILT7qGjGoxQCQUIwSOAyFjxIwwMVBpVGCgwCCCkCkGDxKgAdVIbHgBEdcANCEBYoAbrmokqwACUxwqixmDqJFGLVbPQArAi6A3OqhwACKFEY5qQlsqnpm9aVCyMPqoKb+HBgmbYNHSyAAHKShX8HnBMzqDEqWfXS+ahQBHIfwVgiiUoIwEDZQOCfT4p0xXtimVihlujtshSqeI2Fdd1PUBIM+0HYdW3HIVGQWFc11IZB2gQnU2CoZ1uHif9ygIABWFMKCqAAVWd7zHa0QFLD0AEkdDMA07jYUUAEEdANfY+zgqp+SAA) ```sh --parser babel ``` **Input:** ```jsx {{ const shouldNotPrintColon = isNgForOf(node, index, parentNode) || (((index...