Pig Fang
Pig Fang
This PR isn't just to add a feature about "Log View", however it's about allowing to execute code, which is misleading.
You're right. Using `eval` (and `Function`, etc.) would be dangerous, though it will be run on clients. There's an alternative: Create a JavaScript module dynamically, then use `import()` to execute...
Yes, it's ShadowRealm.
Try this plugin: https://github.com/g-plane/markup_fmt . It supports JSX in Astro.
If you want to format Astro files with dprint, try: https://github.com/g-plane/markup_fmt
IMHO it's hard to support multiple plugins under current playground architecture, but I would like to create a new dprint playground (in a separated repository).
It's unrelated to API. I mean the current UI of playground only allows us to select single plugin and the config editor is only for that single plugin. What we...
Should the high-level API be added to this package?
Would you like to give a try to [Malva](https://github.com/g-plane/malva) (another CSS formatter)? It supports both @apfelbox 's and @guilhermetod 's suggestions with configuration. ### Input ```css @if ($verylonglonglonglonglonglonglonglonglonglonglonglonglonglongvariabletoforceabreak and $a...
You can use this as a dprint plugin. What's your problem?