Skip to content

Conversation

@jacksonrayhamilton
Copy link
Collaborator

Based on the support that was requested in #45, I figured it might be helpful if the documentation didn't suggest hooking into JS modes that don't come pre-installed with Emacs.

Regarding JS modes, I figured this would also be a good time to clarify that Prettier (and thus this package) isn't limited to just JavaScript any more.

Almost-related is that I mentioned in the README how this package also works with Org. Even more tangential is that I realized the documentation for prettier-js-prettify-code-block could be simplified if I made it properly check for the code block "at point," so I made that little update too.

It's not really important that point be specifically inside the code block.
Being "at" the code block is fine and makes it a bit easier to satisfy the
condition.
@jcs090218
Copy link
Collaborator

Sounds reasonable! :)

@jacksonrayhamilton jacksonrayhamilton merged commit a0eea19 into prettier:master Jul 4, 2025
12 checks passed
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