diff --git a/packs/standalone/src/lines.tsx b/packs/standalone/src/lines.tsx index 4bda05bc..0fc5dc54 100644 --- a/packs/standalone/src/lines.tsx +++ b/packs/standalone/src/lines.tsx @@ -235,6 +235,7 @@ export function LineList({ {token} ))} + {stepPair.prev.annotations?.[lineKey + 1]} ) diff --git a/packs/step-parser/src/step-parser.ts b/packs/step-parser/src/step-parser.ts index a9aad7ad..a1a0be85 100644 --- a/packs/step-parser/src/step-parser.ts +++ b/packs/step-parser/src/step-parser.ts @@ -41,6 +41,7 @@ export function parseSteps( longestLineIndex: number; title?: string; subtitle?: string; + annotations: Record; }[] = []; steps.forEach((step, i) => { @@ -67,7 +68,8 @@ export function parseSteps( focusCount, longestLineIndex: getLongestLineIndex(code), title: inputSteps[i].title, - subtitle: inputSteps[i].subtitle + subtitle: inputSteps[i].subtitle, + annotations: inputSteps[i].annotations }); });