Georgii Dolzhykov
Georgii Dolzhykov
@octogonz [`prettier-ignore-start` / `-end`](https://prettier.io/docs/en/ignore.html#range-ignore) should work in your case in Markdown. That's exactly what it was designed for. **Prettier 2.0.5** [Playground link](https://prettier.io/playground/#N4Igxg9gdgLgprEAuEBiVACAggBQJIYBKcADhAE4wYBiAlgDZwYBmFGAOiAALkCuAzgAt+MAIZgA1gHoS4iaIDmcALQATUv2WDRQzuyj6AfBgAiEDFAhU4q2lRiDa-FgzgA6DHipOMojOVIKKiUoOHJReFUMACMATwwAbVwCAFEADxhwsBgKAF0ACkEYGBJ+JCkpURJaZTgMrJzyN0gAWykASjd9fQAeAEJlZQwSAOLaMOVaBUsA5RFRSgxBw30AA3WYfn0KjC4SXmj6WjB9OrJF5l4obNpoDCUYAHE7AAkdQWoKOkZ+fOZXfgAFQgbyESAwInItCgCgSuQANMM5Io4DgIoJwZDoQp2uCALJVHpYmGI4kKQwAbm6UB2ewORxOoTS5yol2uMFuUHucBgaMkKJMGnysn5SjRDgA-JjMtjEXUwPReOpVOLhFKITKYXDcZ4+fIlILSlSDDSpLt9odjqdmUEMND4ORmOImHg9QKNBhgPoMD7fOQFLwWghNuqycbfS4fuCvVyI76EhI4LFpVCYbkU9jw76AL7G7Nrda9AZDEY8jkTKYzFQIKLLfQgeEgCAkDnQfjIUALcgQADuaICUHbKFE9B7oli7cb0SyiZgAGURdjkJleHBG0UWvQAOqOeD8EVwOcIfh2WgANzssWQ4H4k5A0P4YV54QULVEyCd9EfjYAVvw0gAQjOPJzqIQYADLQnAH4jt+IB-mkc7YowACKvBWNBSCfnBsjkI+5DXm+5ASKovZQA2IAjPaW60KoDjIAAHAADI2IwQI+W7hCQ16lvhZ7QY2ACO6HwDg3alNeOjKKENg2BRATCbQARiYob4wV+a4gI+LS0MufCaSeMKoSJmHYZpYjRDRdGCMgABMjaZKIDDYgAwhALRqSgcD8AArBRAhwICojREOZmNmeq54FA6iwHOYBQi2WDRXOMCxIw6mPtm2ZAA) ```sh --parser markdown ``` **Input:** ````markdown ## API...
@octogonz > I wonder why it wasn't working for @jamietre in microsoft/rushstack#1856 (comment) I might be able to answer this question if you reproduce that case on the [playground](https://prettier.io/playground/).
The problem is that the parent context's `require` would look for modules at the wrong path, right?
@AmarTrebinjac That explanation seems to be only about importing components. It can be applied to style-related things too, but there seems to be an inconsistency in that case. The explanation...
Okay, thanks for the explanation. Feel free to close the issue if it's unactionable. Turns out I missed this sentence from [here](https://mui.com/material-ui/guides/minimizing-bundle-size/#when-and-how-to-use-tree-shaking): > MUI exposes its full API on the...
Check from where you import things. You seem to be using stuff from `@mui/lab`.
Your **expected behavior** would still create extra text nodes. Didn't you mean something like this: ```html {{ error == null || error.title == null ? "someLongString" : someOtherInterestingValue }} ```...
I believe creating/removing invisible text nodes that don't impact the layout **should not** be a concern for Prettier. There is already too many other factors to take into account whereas...
On the other hand, in this specific case, the expected output that I wrote in [my comment above](https://github.com/prettier/prettier/issues/5463#issuecomment-438353871) looks better to me than the current output.
That's an option of Prettier CLI, not something specified in a config file.