agentsclimarketplace

Md2slides

Skill harvard-growth-lab/gl-design/skills/md2slides

Convert markdown to a 16:9 PDF slide deck styled with the Growth Lab visual grammar. Use this skill when the user asks to create slides, a presentation, or a slide deck from markdown.From its SKILL.md

Install
npx -y skills add harvard-growth-lab/gl-design --skill md2slides

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

6.8 KB, as published. Nobody here has run it

GL md2slides

Convert markdown to a 16:9 PDF deck that follows the Growth Lab visual grammar and the slide recipe. Built on Marp with a single bundled theme (gl) that mirrors the design tokens used by md2pdf and md2html.

Usage

md2slides input.md                      # outputs input.pdf
md2slides input.md output.pdf           # custom output path
md2slides --theme ./custom.css input.md # use a custom CSS file
md2slides --list-themes                 # list bundled themes

Required frontmatter

---
marp: true
theme: gl
size: 16:9
paginate: true
---

The theme: field is informational — the script passes the theme CSS to Marp via --theme, so the CLI flag wins.

Slide classes

Set with <!-- _class: name --> at the top of a slide.

ClassPurpose
(none)Default content slide — H1 + body. Body block centers vertically.
titleCover slide. cover-bg paper, eyebrow + date, display + accent rule + byline, rect-pattern bottom, GL logo top-right.
breakSection divider. ink-2 background, warm display in cover-bg tone.
chartCompact eyebrow + chart title at top, chart fills the slide, source line below. Mirrors the report figure block.
img-slideImage-left layout — pair with Marp's ![bg left:55%](img.png).
img-fullFull-bleed image with optional caption line below.
map-slideTight padding for side-by-side maps inside .cols.
closingOutro slide. paper-warm paper, italic display, eyebrow footer.

Markdown → role mapping

MarkdownRoleSpec (slide sizes)
# HeadingH1 / slide headSource Serif 4 40px 500 ink, opsz 36
## HeadingH2 / sub-headSource Serif 4 26px 500 ink, opsz 22
### HeadingH3 / column headSource Serif 4 20px 600 ink, opsz 18
#### HeadingEyebrow / figure labelInter 13px 600 UPPER accent, 0.14em tracking
body paragraphBodyInter 24px 400 ink-2, 1.55 leading
**bold**Body emphasisInter 24px 600 ink
> blockquoteAccent calloutaccent-tint bg, 3px accent left border
![alt](path)Image (centered, bounded)Default; in .chart slides fills the slide
Source: ...Chart sourceSource Serif 4 italic 16px ink-2 (after image)
`colcol
---Slide separator (Marp)—

Patterns

Cover slide

<!-- _class: title -->
<!-- _paginate: false -->

**MAY 2026**

# Pakistan's Path to Growth Through Productive Diversification

Taimur Shah, Ricardo Hausmann, and Tim O'Brien

The accent rule under the display is auto-inserted by the theme — don't write --- to make it appear (that would create a new slide). The cover pattern (rect-pattern-wide.svg, a 6.8:1 mirror of the report's pattern sized for 16:9) and the Growth Lab logo are baked into the title-slide background by the script at render time. If you want a series eyebrow above the date, add a leading #### Eyebrow line — it's optional, not the default.

Chart slide

<!-- _class: chart -->

#### FIGURE 1

# Reserves have rebuilt from the 2023 trough.

![](imgs/reserves.png)

Source: Growth Lab analysis of State Bank of Pakistan data.

The eyebrow + title sit compact at the top, the chart fills the remaining space, and the line that starts with Source: is styled as Source Serif 4 italic — matching the chart-source role in the report recipe.

Two-column

Wrap the columns in a .cols div (HTML inside markdown is fine):

<div class="cols">
<div>

### External

Reserves up sharply on remittance inflows; current account near balance.

</div>
<div>

### Fiscal

Revenue mobilization up from a low base; interest burden still consumes most.

</div>
</div>

The blank lines around the inner <div> tags are required so pandoc-style markdown inside them is parsed as markdown rather than literal HTML.

Choices and gaps

TopicStatus
Type sizes scaled for slide consumptionBody 24px (≈ 2× report body); H1 40px, H2 26px, eyebrow 13px. Anchored to the grammar's role hierarchy, not the report's print pt values.
Cover layoutMirrors the report cover (eyebrow + date, display, accent rule, byline, pattern, logo), at slide scale.
Slide-specific reciperecipes/slide.md — canvas, padding, type scale, slide-class catalog.
Bespoke slide types from the previous skill(agenda, journey, perspectives, proposal, tracks, topics, funding, diagram, takeaway from the legacy growth-lab theme) — not ported. Add them back per-need rather than carrying a wide surface area into v1.
Mono fontUsed only for inline code / code blocks. The grammar says no monospace — slides have no other reason to reach for it.

Quick example

# Under the installed plugin, the script and demo file live under $CLAUDE_PLUGIN_ROOT:
"$CLAUDE_PLUGIN_ROOT/skills/md2slides/scripts/md2slides" \
  "$CLAUDE_PLUGIN_ROOT/playground/demo-deck.md"
# (From a git checkout instead: cd into the repo and run skills/md2slides/scripts/md2slides ...)

Renders playground/demo-deck.md to playground/demo-deck.pdf. The demo exercises every slide class (title, content, two-column, chart, table, break, blockquote, closing).

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.