mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
Fix markdown ordered lists counter reset
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user