A Microsoft Word Task Pane Add-in
— Mirza Ghalib
Type couplets into native Word tables, then balance every misra to a single elegant width using canvas-measured tatweel insertion. Built on Ashaar.js.
What it does
Poetry in the Arabic script lives or dies by the line. Ashaar gives Word the tools to lay verse out properly — structurally and visually.
Couplets become right-to-left Word tables wrapped in tagged content controls — real document structure, not pasted images, fully editable afterwards.
A canvas engine binary-searches the maximum tatweels that fit a target width and ranks legal insertion points, balancing all hemistichs to the longest line.
Balanced, equal, compact, and stacked presets — or drop a 12-column grid, reshape cells natively in Word, and capture your own reusable template.
Mark up verse with \, |, *, and ---, preview it live in the pane, then insert it as a formatted table or tab-stopped paragraphs.
Try it
The add-in is hosted here on GitHub Pages. Download the manifest, then load it into your copy of Word — no admin install required.
manifest.prod.xml.~/Library/Containers/com.microsoft.Word/Data/Documents/wef/Right-click and save manifest.prod.xml, then follow the steps for your platform above.
New to the add-in? Read the User Guide or download the Word version.
Same poetry · different platform
This add-in is built on Ashaar.js — the same right-to-left layout and kashida justification engine, as a zero-dependency JavaScript library you can drop into any web page.
Explore Ashaar.js for the web ↗