diff --git a/packages/abacus-react/examples/README.md b/packages/abacus-react/examples/README.md
index 3e366b0b..1df48d73 100644
--- a/packages/abacus-react/examples/README.md
+++ b/packages/abacus-react/examples/README.md
@@ -26,4 +26,4 @@ Or referenced in HTML:
---
_Generated automatically by generate-examples.js using react-dom/server_
-_Last updated: 2025-09-19T20:04:23.092Z_
+_Last updated: 2025-09-19T20:15:34.663Z_
diff --git a/packages/abacus-react/examples/basic-usage.svg b/packages/abacus-react/examples/basic-usage.svg
index ebd483fc..c05b295d 100644
--- a/packages/abacus-react/examples/basic-usage.svg
+++ b/packages/abacus-react/examples/basic-usage.svg
@@ -6,7 +6,7 @@
"scaleFactor": 1,
"animated": false
} -->
-
\ No newline at end of file
+
1
2
3
\ No newline at end of file
diff --git a/packages/abacus-react/examples/custom-styling.svg b/packages/abacus-react/examples/custom-styling.svg
index e3f9f9c7..9010c2d7 100644
--- a/packages/abacus-react/examples/custom-styling.svg
+++ b/packages/abacus-react/examples/custom-styling.svg
@@ -24,7 +24,7 @@
}
]
} -->
-
\ No newline at end of file
+
7
8
9
\ No newline at end of file
diff --git a/packages/abacus-react/examples/interactive.svg b/packages/abacus-react/examples/interactive.svg
index d686f40a..538fb454 100644
--- a/packages/abacus-react/examples/interactive.svg
+++ b/packages/abacus-react/examples/interactive.svg
@@ -6,7 +6,7 @@
"animated": false,
"showNumbers": true
} -->
-
\ No newline at end of file
+
4
5
6
\ No newline at end of file
diff --git a/packages/abacus-react/examples/tutorial-mode.svg b/packages/abacus-react/examples/tutorial-mode.svg
index 46e91066..0bce3ec8 100644
--- a/packages/abacus-react/examples/tutorial-mode.svg
+++ b/packages/abacus-react/examples/tutorial-mode.svg
@@ -6,7 +6,7 @@
"animated": false,
"showNumbers": true
} -->
-
\ No newline at end of file
+
4
2
\ No newline at end of file
diff --git a/packages/abacus-react/generate-examples.js b/packages/abacus-react/generate-examples.js
index a104a766..82e12143 100644
--- a/packages/abacus-react/generate-examples.js
+++ b/packages/abacus-react/generate-examples.js
@@ -246,7 +246,11 @@ async function generateSVGExamples() {
const element = React.createElement(AbacusReact, example.props);
// Render using react-dom/server to show the actual component
- const svgMarkup = renderToStaticMarkup(element);
+ const fullMarkup = renderToStaticMarkup(element);
+
+ // Extract just the SVG content from the rendered HTML
+ const svgMatch = fullMarkup.match(/