nextra icon indicating copy to clipboard operation
nextra copied to clipboard

Custom Layouts

Open moklick opened this issue 2 years ago • 2 comments

Is it somehow possible or planned to support custom layouts? I could imagine that lots of cases could be covered with a custom layout. In our case we wanted to display a full layout with a breadcrumb. Currently the only way to do this is to create a custom theme, when I see it right.

moklick avatar Jun 26 '23 09:06 moklick

That's the only way. U can find out more about layouts in the docs

C-EO avatar Oct 03 '23 14:10 C-EO

this already feat of Nextra v4 https://github.com/shuding/nextra/blob/067d290b4596440dce33259d8a12c16a6e7fc2c0/packages/nextra-theme-docs/src/mdx-components/wrapper/wrapper.client.tsx#L33-L76

dimaMachina avatar Oct 06 '24 01:10 dimaMachina

Is it possible to use the layout: "raw" with V4?

marklundin avatar Nov 27 '24 12:11 marklundin

Fixed in Nextra 4 with App Router, so closing this issue https://the-guild.dev/blog/nextra-4

dimaMachina avatar Jan 13 '25 11:01 dimaMachina