Skip to content
Genom

Pull the text out of a presentation

Titles, bullets and speaker notes, in slide order.

.pptx.pptOne package, every generation — @genomdev/pptx

Loading the example…

A deck extracts as a sequence of slides rather than a flow of prose, and the useful thing is that each piece of text knows which slide and which placeholder it came from. Speaker notes come out too, which is usually where the actual argument of a presentation is written down.

import { extractMarkdown } from '@genomdev/genom';

// Headings stay headings, tables stay tables, and the document's own
// list numbers come out as text rather than as CSS.
const markdown = await extractMarkdown(file); // quarterly.pptx

Put it in your own application

What is above is the published package running in this page, with nothing behind it. The documentation covers the same ground with the API in full.