github remix-run/remix remix@1.6.6
v1.6.6

latest releases: v0.0.0-nightly-6ee69c13d-20241003, v0.0.0-experimental-38ca648a3, v0.0.0-nightly-38ca648a3-20240920...
2 years ago

What's Changed

  • We've added support for exporting a links function from .mdx routes (#3801). This is leveraging the fact that MDX (which we use to parse your markdown routes) allows you to declare and export anything:

    ---
    meta:
      title: Welcome to the site
      description: Hello, World!
    ---
    
    export const links = () => [
      {
        rel: "stylesheet",
        href: "/welcome.css",
        media: "(prefers-reduced-motion: no-preference)",
      },
    ];
    
    # My Page
    
    This is **markdown** with links 🎉
  • Fixed a few type-related bugs in @remix-run/react.

Changes by package

New Contributors


Full Changelog: https://github.com/remix-run/remix/compare/remix@1.6.5...remix@1.6.6

Don't miss a new remix release

NewReleases is sending notifications on new releases.