From 3b02cab2cfed5b050eff54b0d063f2639fdd4d8c Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Tue, 23 Jul 2024 00:56:52 +0800 Subject: [PATCH] website: update zebra-stripes example. #676 --- www/src/pages/extensions/zebra-stripes/index.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/www/src/pages/extensions/zebra-stripes/index.tsx b/www/src/pages/extensions/zebra-stripes/index.tsx index 836adfe65..7d3796b3e 100644 --- a/www/src/pages/extensions/zebra-stripes/index.tsx +++ b/www/src/pages/extensions/zebra-stripes/index.tsx @@ -45,7 +45,12 @@ export const ZebraStripesExample: FC = () => { style={{ margin: '0 0 23px 0' }} extensions={[ langs.markdown(), - zebraStripes({ lineNumber: [1, [3, 6], 10], lightColor: '#aca2ff33', darkColor: '#aca2ff40' }), + zebraStripes({ + lineNumber: [1, [3, 6], 10], + lightColor: '#aca2ff33', + darkColor: '#aca2ff40', + className: 'xxx-text-wrapper', + }), ]} />