Fix markdown ordered lists counter reset

This commit is contained in:
openhands
2024-11-14 01:04:48 +00:00
parent 8fd7fc1bb0
commit fd6820fc8f

View File

@@ -17,6 +17,11 @@ export function ol({
React.HTMLAttributes<HTMLElement> &
ExtraProps) {
return (
<ol className="list-decimal ml-5 pl-2 whitespace-normal" style={{ counterReset: "list-item" }}>{children}</ol>
<ol
className="list-decimal ml-5 pl-2 whitespace-normal"
style={{ counterReset: "list-item" }}
>
{children}
</ol>
);
}