Keep numbered lists counting across nested items and blank lines
A list ended at the first line that was not an item, so a numbered list with nested bullets, wrapped lines or blank lines between items became one-item lists that each showed 1. Lists now nest (an item holds the blocks indented under it), continue across blank lines, join wrapped lines, and number from their first item. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,6 +3,17 @@ import 'package:flutter/material.dart';
|
||||
import 'package:pipelines_app/features/chat/ui/transcript/chat_markdown_view.dart';
|
||||
|
||||
const _sample = '''
|
||||
Numbered steps with nested details and blank lines keep counting:
|
||||
|
||||
1. Install the server
|
||||
- needs Docker
|
||||
- takes a few minutes
|
||||
|
||||
2. Sign in
|
||||
- open the web app
|
||||
|
||||
3. Start a chat
|
||||
|
||||
A wide table wraps its cells to the transcript width instead of scrolling:
|
||||
|
||||
| Stage | What it does | Result | Owner |
|
||||
|
||||
Reference in New Issue
Block a user