Brian Jenkins

Results 51 comments of Brian Jenkins

I wasn't planning on it. To be honest, I ran into a couple of bugs between blessed and blessed-contrib so I've started rewriting the whole thing in TypeScript. Probably won't...

This looks to have done it: **rollup.config.js** ```typescript import alias from "@rollup/plugin-alias"; import commonJs from "@rollup/plugin-commonjs"; import inject from "@rollup/plugin-inject"; import nodeResolve from "@rollup/plugin-node-resolve"; import typescript from "rollup-plugin-typescript2"; export default...

One of these times I'll file the issue on the right tracker, I'm sure of it! 😅

You're right, I used the wrong word. Still could potentially be of use.

Found another person with a similar issue without using Nextra: https://github.com/preactjs/preact/issues/2690#issuecomment-1179631053 This comment suggests: https://github.com/preactjs/preact/issues/3512#issuecomment-1093835905 - It may be a Next.js thing - It may be related to [duplicated Preact...

With `esmExternals: false` and this added to my `package.json` it appears fixed. ```json { "overrides": { "nextra": { "@mdx-js/react": "npm:@mdx-js/preact@latest" }, "nextra-theme-docs": { "@mdx-js/react": "npm:@mdx-js/preact@latest" } } } ``` Looks...

Minimal sample that reproduces the issue (apparently gists can't do folders): [nextra-459.zip](https://github.com/shuding/nextra/files/8641587/nextra-459.zip) (just 10 short files, most of which are boilerplate) **To reproduce the issue:** 0. On a non-Windows machine...

Very nearly got it: ```ts // /layouts/docs/index.tsx import "nextra-theme-docs/style.css"; import nextra from "nextra-theme-docs"; export default function Layout(pageProps) { const Nextra = nextra(pageProps, { "head": ( ), "footerText": "Copyright ©. All...

I've gone with this for the time being: ```ts // /pages/_app.tsx import type { AppProps } from "next/app"; import Layout from "../layouts/default"; import Head from "next/head"; export default function App({...

You can extend markdown syntax by way of [Remark](https://github.com/remarkjs/remark) [plugins](https://github.com/remarkjs/remark/blob/main/doc/plugins.md), or so I've been told. Looks like MDX offers some advice on this as well: https://mdxjs.com/docs/extending-mdx/