Links

Allows to include link tags

import stylesheet from "~/styles/globals.css";
import codetheme from "highlight.js/styles/github-dark-dimmed.css";
import type { LinksFunction } from "@remix-run/react";

export const links: LinksFunction = () => [
  { rel: "stylesheet", href: stylesheet },
  { rel: "stylesheet", href: codetheme },
];
The above code produces the following HTML output:
<link rel="stylesheet" href="/build/path/to/globals.css">
<link rel="stylesheet" href="/build/path/to/github-dark-dimmed.css">