CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-storybook--addon-mdx-gfm

GitHub Flavored Markdown support addon for Storybook documentation.

69

0.97x
Overview
Eval results
Files

rubric.jsonevals/scenario-4/

{
  "context": "Evaluates how the solution leverages @storybook/addon-mdx-gfm's preset entry to auto-enable GitHub Flavored Markdown in Storybook MDX docs. Emphasizes letting the preset-driven mdxLoaderOptions hook drive the compile options instead of manually wiring remark plugins.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Addon listing",
      "description": "Storybook main config includes '@storybook/addon-mdx-gfm' in the addons array so the package's preset auto-registers instead of manually wiring remark plugins.",
      "max_score": 25
    },
    {
      "name": "Preset hook use",
      "description": "Uses the package's preset export (e.g., the mdxLoaderOptions hook from '@storybook/addon-mdx-gfm/preset') to produce docs.mdxCompileOptions rather than constructing options by hand.",
      "max_score": 25
    },
    {
      "name": "GFM plugin applied",
      "description": "Final mdxCompileOptions.remarkPlugins includes the remark-gfm plugin added by the addon's preset and it appears exactly once in the list.",
      "max_score": 25
    },
    {
      "name": "Options preserved",
      "description": "The preset-driven merge keeps any existing remarkPlugins/rehypePlugins intact while appending remark-gfm, mirroring the package's non-destructive behavior.",
      "max_score": 25
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-storybook--addon-mdx-gfm

tile.json