TanStack
OSS
ai
feat(ai-*-ui): markdown plugin customization on TextPart (#599) * feat(ai-*-ui): expose markdown plugin customization on TextPart Adds remarkPlugins, rehypePlugins, components (React/Solid), and disableDefaultPlugins props to TextPart across the React, Solid, and Vue UI packages. User plugins merge with the secure-by-default chain (rehype-sanitize always runs last unless defaults are disabled). Also fixes a latent bug where remark-gfm was passed to react-markdown inside the rehypePlugins array, silently no-opping GFM features (tables, strikethrough, task lists) in the React TextPart. Adds an e2e regression test that renders CJK bold both with and without remark-cjk-friendly through the public TextPart API. Closes #164 * ci: apply automated fixes * chore(ai-vue-ui): drop unused rehype-sanitize dep --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
nx affected --targets=test:sherif,test:knip,test:docs,test:eslint,test:lib,test:types,test:build,build --exclude=examples/**,testing/**
Sign in / Sign up
Open main menu
Succeeded
CI Pipeline Execution
nx affected --targets=test:sherif,test:knip,test:docs,test:eslint,test:lib,test:types,test:build,build --exclude=examples/**,testing/**
Click to copy
Linux
4 CPU cores
10ec5db6
606
Get faster results
Learn how to enable distribution.
Atomizer enabled
16 groups of tasks optimized.