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

Feature request: syntax highlighting for MDX files (Markdown + JSX) #11288

Closed
hsribei opened this issue Sep 7, 2018 · 5 comments
Closed

Feature request: syntax highlighting for MDX files (Markdown + JSX) #11288

hsribei opened this issue Sep 7, 2018 · 5 comments

Comments

@hsribei
Copy link

hsribei commented Sep 7, 2018

mdx-js/mdx#119

@Gazler
Copy link

Gazler commented Jul 26, 2019

Not a full solution, but adding the following to your dotspacemacs/user-config will highlight as markdown.

(defun dotspacemacs/user-config ()

  (add-to-list 'auto-mode-alist '("\\.mdx\\'" . markdown-mode))

@robbyoconnor
Copy link
Contributor

#13480

robbyoconnor added a commit to robbyoconnor/spacemacs that referenced this issue Apr 12, 2020
robbyoconnor added a commit to robbyoconnor/spacemacs that referenced this issue Apr 12, 2020
robbyoconnor added a commit to robbyoconnor/spacemacs that referenced this issue Apr 12, 2020
robbyoconnor added a commit to robbyoconnor/spacemacs that referenced this issue Apr 12, 2020
duianto pushed a commit that referenced this issue Apr 12, 2020
@duianto
Copy link
Collaborator

duianto commented Apr 12, 2020

The following PRs changes have been applied to the develop branch:
Add support for mdx files #13480

If someone can confirm that it works on the latest develop branch then we can close this.

@robbyoconnor
Copy link
Contributor

@duianto I did test this and it does work. Not optimal but it works

@duianto
Copy link
Collaborator

duianto commented Apr 13, 2020

Thanks for testing. This can be a first step.

If someone wants to create better syntax highlighting, then this guide might be helpful:
http://ergoemacs.org/emacs/elisp_syntax_coloring.html

@duianto duianto closed this as completed Apr 13, 2020
epsilon-0 pushed a commit to epsilon-0/spacemacs that referenced this issue Apr 21, 2020
aam-at pushed a commit to aam-at/spacemacs that referenced this issue Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants