Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add formatter for MDX files #253

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

anmonteiro
Copy link

https://mdxjs.com (Markdown + JSX)

@sbdchd
Copy link
Owner

sbdchd commented Sep 23, 2019

Looks good!

Could you also update ‘docs/neoformat.txt’ and the ’README.md’?

Thanks

@anmonteiro
Copy link
Author

Thanks for the review. I'm happy to do that but I couldn't get this working yet because the filetype I get is actually markdown.mdx (compounded filetype).

As per the documentation:

When a dot appears in the value then this separates two filetype
names. Example:
/* vim: set filetype=c.doxygen : */ ~

Does neoformat support compound filetypes like the above?

@sbdchd
Copy link
Owner

sbdchd commented Sep 26, 2019

Yeah I don’t think it does. I think the only solution currently is to set the file type to just be ‘mdx’

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