markdown.style

HomeGemini Markdown to PDF or HTML

From an AI assistant

Turn a Gemini explainer into a page you can print

Gemini often answers with headings, a comparison table and a short list, more like a briefing than a chat reply. Style that structure and export it to PDF or HTML instead of retyping it.

Open this example in the editorStart with your own

The table and lists depend on the characters, not the layout

The table and the two bulleted lists below depend on the underlying characters Gemini wrote, not on how the reply looked on screen. That matters because most assistants answer in Markdown, and their copy control gives you that source text rather than a picture of the reply. Getting from a Gemini explainer to a styled page takes four steps:

  1. Copy the answer with the assistant's copy control.
  2. Paste it into the source pane on the left here.
  3. Delete any sentence sitting above the first heading; it describes the answer rather than being part of it.
  4. Pick a theme and export.

What holds together in the render

A comparison table like the one below becomes a real HTML table with a header row, not a paragraph of dashes. Gemini's section headings keep their place in the document outline, so the numbers stay easy to tell apart from the questions to ask. The bulleted list of installer questions keeps its markers. A glossary written as a bold term followed by a colon reads as a set of definitions, with no special syntax needed.

Worked example

A Gemini answer to a homeowner asking how a heat pump works, with a comparison table, an installer checklist and a glossary, pasted as given.

# How a Heat Pump Works

A heat pump moves heat from the outdoor air into your home instead of burning fuel to create it. It runs on electricity, works in both directions for heating and cooling, and can cut a household's carbon output well below a gas boiler's.

## The basic idea

Refrigerant inside the unit absorbs heat from outdoor air, even when that air feels cold, and a compressor raises its temperature before releasing it indoors. The same cycle runs in reverse to cool a home in summer. Because the pump moves existing heat rather than generating it from fuel, it can deliver more energy as heat than it consumes as electricity.

## Efficiency in plain numbers

A typical air-source heat pump has a coefficient of performance, or COP, of around 3.5. That means 1 kWh of electricity in produces roughly 3.5 kWh of heat out. A gas boiler converts close to 0.9 kWh of heat for every 1 kWh of gas burned, since some energy is lost as exhaust.

## What installation involves

An outdoor unit sits against an exterior wall or in a garden. Refrigerant lines connect it to an indoor unit or to the existing radiators and hot water tank. Most homes need a survey first to check radiator sizing, since heat pumps run at a lower flow temperature than a boiler.

## Heat pump versus gas boiler

| Aspect | Heat pump | Gas boiler |
| --- | --- | --- |
| Running cost, typical 3-bed home | About £780 a year | About £1,050 a year |
| Installation cost before any grant | £8,000 to £14,000 | £2,500 to £4,000 |
| Carbon output per year | Roughly 0.9 tonnes | Roughly 2.7 tonnes |
| Expected lifespan | 15 to 20 years | 10 to 15 years |

## Questions to ask an installer

- Ask what flow temperature the system will run at and whether any radiators need resizing.
- Ask for the measured COP for this model in this climate, rather than the rated maximum alone.
- Ask whether the outdoor unit's noise level suits the distance to a neighbour's window.
- Ask whether the quote includes a hot water cylinder, and what size the household needs.
- Ask what warranty covers the compressor, and for how many years.

## Glossary

- **COP (coefficient of performance):** the ratio of heat delivered to electricity consumed; higher is more efficient.
- **Flow temperature:** the temperature of water leaving the unit and entering the radiators or underfloor pipes.
- **Refrigerant:** the fluid inside the unit that absorbs and releases heat as it changes state.
- **Air-source:** a heat pump that draws heat from outdoor air, unlike a ground-source system that uses buried pipes.

This overview gives typical figures only. An installer's survey of the property sets the final quote and the actual running cost.

Rendered in the Editorial theme. Open it in the editor to change the theme or the text.

Editorial for the headline, Paper for a plainer explainer

Editorial sets Playfair Display at heavy weight for the title and Source Sans 3 for the body, with a red accent. Its own listing names "Documents with a strong title and short sections" as a fit, which matches an explainer built around one question and a handful of headings. Paper is the plainer alternative. Lora headings sit over Source Serif 4 body text on a warm off-white ground, suited to a longer explainer meant to be printed and read rather than skimmed.

Exporting for print or for a newsletter

Print or save as PDF opens the browser's print dialog; choosing "Save as PDF" there gives a homeowner a page with the table and lists intact. Download .html gives one standalone file with Editorial's CSS embedded and its fonts linked from Google Fonts, ready to host or attach. For a newsletter, Copy styled HTML inlines the theme's styles so the look survives pasting into an email or a CMS editor. The markers on the installer questions and the glossary may not carry over, and can need re-adding by hand.

Style once instead of asking again

The Markdown Gemini wrote is already the document; styling it here costs nothing beyond the first copy and paste. Asking the assistant to generate a finished page instead spends output tokens on the markup, then again on every later heading, table or theme change. Add a fifth row to the comparison, or one more glossary term, and editing the source here costs one small change, not a whole new file.

Questions

Does the comparison table keep its rows and columns after export?

Yes. A GitHub-flavoured Markdown table renders as a real HTML table with a header row, and every export keeps the same rows and columns.

Do a glossary and a plain bulleted list render differently from each other?

No, both are ordinary bulleted lists. A glossary reads as a set of definitions only because each item leads with a bold term and a colon, not because of separate markup.

Should I remove Gemini’s lead-in sentence before the first heading?

Worth deleting if one is there. A sentence describing the answer, sitting above the actual heading, reads as part of the document unless you cut it in the source pane.

Does a light theme with a bold accent colour still print cleanly?

Yes. A light theme such as Editorial keeps the same headline weight and accent colour in print as on screen, with no dark-to-light conversion involved.