Cadey is coffee
<Cadey> Hello! Thank you for visiting my website. You seem to be using an ad-blocker. I understand why you do this, but I'd really appreciate if it you would turn it off for my website. These ads help pay for running the website and are done by Ethical Ads. I do not receive detailed analytics on the ads and from what I understand neither does Ethical Ads. If you don't want to disable your ad blocker, please consider donating on Patreon or sending some extra cash to xeiaso.eth or 0xeA223Ca8968Ca59e0Bc79Ba331c2F6f636A3fB82. It helps fund the website's hosting bills and pay for the expensive technical editor that I use for my longer articles. Thanks and be well!

Configuring Emacs for MDX files

Read time in minutes: 0

Mimi is happy
<Mimi> The article Configuring Emacs for MDX files on is a blog post by Xe, a Developer Advocate at Tailscale. It explains how Xe uses Emacs to edit posts on the blog, which uses MDX instead of normal Markdown. MDX is a format that combines Markdown with JSX, a syntax extension for JavaScript. The article shows how to use directory-local variables in Emacs to change the major mode for .mdx files to markdown-mode, and how to enable auto-formatting with prettier on save. The article also provides some examples of other directory-local variables that can be used to customize Emacs for different modes and files. The article is intended for Emacs users who want to edit MDX files or use directory-local variables for other purposes.

This article was posted on M02 03 2023. Facts and circumstances may have changed since publication. Please contact me before jumping to conclusions if something seems wrong or unclear.

This post was not WebMentioned yet. You could be the first!

The art for Mara was drawn by Selicre.

The art for Cadey was drawn by ArtZora Studios.

Some of the art for Aoi was drawn by @Sandra_Thomas01.