diff --git a/static/share.js b/static/share.js
index 7591233..359aa7d 100644
--- a/static/share.js
+++ b/static/share.js
@@ -25,11 +25,66 @@ async function screenshotDOM(el, opts = {}) {
if (background !== 'transparent') clone.style.background = background;
if (!clone.getAttribute('xmlns')) clone.setAttribute('xmlns', 'http://www.w3.org/1999/xhtml');
+ const word = el.querySelector("h3").textContent.trim();
+ const phonetic = el.querySelector(".pronun").textContent.trim();
+ const [types, ...defs] = [...el.querySelectorAll("ol.defs li")].map(node => node.textContent.trim());
- const xhtml = new XMLSerializer().serializeToString(clone);
- const svg = ``;
+ const vOffset = 48;
+ const svg = `
+
+ `;
const svgBlob = new Blob([svg], { type: 'image/svg+xml;charset=utf-8' });
const url = URL.createObjectURL(svgBlob);