Looks like Prettier is trying to format markdown files with some other syntax, because no matter what markdown I input, it throws an exception. A popup that usually shows for long-running async beautifiers hangs forever.

Create and save a markdown file with any simple contents like:
# abc
test
Set prettier as your default beautifier for markdown, e.g:
"*":
"atom-beautify":
general:
beautifyEntireFileOnSave: false
markdown:
default_beautifier: "Prettier"
Atom Beautify: Beautify EditorThe command does not work and I see this error in Atom's console:
/Users/ak/.atom/packages/atom-beautify/node_modules/prettier/parser-babylon.js:1 Uncaught (in promise) SyntaxError: Unexpected character '#' (1:1)
> 1 | # abc
| ^
2 |
3 | test
4 |
at createError (/Users/ak/.atom/packages/atom-beautify/node_modules/prettier/parser-babylon.js:1)
at Object.parse (/Users/ak/.atom/packages/atom-beautify/node_modules/prettier/parser-babylon.js:1)
at Object.parse$4 [as parse] (/Users/ak/.atom/packages/atom-beautify/node_modules/prettier/index.js:23124)
at formatWithCursor (/Users/ak/.atom/packages/atom-beautify/node_modules/prettier/index.js:32482)
at format (/Users/ak/.atom/packages/atom-beautify/node_modules/prettier/index.js:32527)
at Object.format (/Users/ak/.atom/packages/atom-beautify/node_modules/prettier/index.js:32787)
at prettier.coffee [sm]:10

I have:
Atom Beautify: Help Debug Editor command in Atom and added link for debug.md Gist to this issuecc @szeck87
That's not good, I have a fix in #2071.
Thanks for reporting, @kachkaev !
Prettier is not the default Markdown beautifier, right? This only happens for users who manually switched to Prettier?
Yep.
Published to v0.32.2
Getting the same error in 0.33.4.
Uncaught (in promise) SyntaxError: Unexpected character '#' (1:2)
> 1 | # Variant
| ^
2 |
3 | Format Version v1.0.0
4 |
at t (/Users/sb/.atom/packages/atom-beautify/node_modules/prettier/parser-babylon.js:1:419)
at Object.d [as parse] (/Users/sb/.atom/packages/atom-beautify/node_modules/prettier/parser-babylon.js:1:188061)
at Object.parse$2 [as parse] (/Users/sb/.atom/packages/atom-beautify/node_modules/prettier/index.js:7138:19)
at coreFormat (/Users/sb/.atom/packages/atom-beautify/node_modules/prettier/index.js:10398:23)
at format (/Users/sb/.atom/packages/atom-beautify/node_modules/prettier/index.js:10570:16)
at formatWithCursor (/Users/sb/.atom/packages/atom-beautify/node_modules/prettier/index.js:10582:12)
at /Users/sb/.atom/packages/atom-beautify/node_modules/prettier/index.js:34924:15
at Object.format (/Users/stephen.bush/.atom/packages/atom-beautify/node_modules/prettier/index.js:34943:12)
at /Users/sb/.atom/packages/atom-beautify/src/beautifiers/prettier.coffee:42:29
at <anonymous>
Most helpful comment
That's not good, I have a fix in #2071.