Skip to content
Compare
Choose a tag to compare
@fuma-nama fuma-nama released this 29 Jan 14:31
· 2 commits to dev since this release
43527c0

Minor Changes

  • 581f4a5: Support code block tabs without hardcoding <Tabs /> items

    migrate: Use the remarkCodeTab plugin.

    before:

    import { Tab, Tabs } from 'fumadocs-ui/components/tabs';
    
    <Tabs items={["Tab 1", "Tab 2"]}>
    
    ```ts tab
    console.log('A');
    ```
    
    ```ts tab
    console.log('B');
    ```
    
    </Tabs>

    after:

    import { Tab, Tabs } from 'fumadocs-ui/components/tabs';
    
    ```ts tab="Tab 1"
    console.log('A');
    ```
    
    ```ts tab="Tab 2"
    console.log('B');
    ```

Patch Changes

  • 5b8cca8: Fix remarkAdmonition missing some types from Docusaurus
  • a763058: Support reversed rest items in meta.json