Cheatsheet Exporter

approvedunreviewed

by Nathan

Export a note as a dense, double-sided A4 cheatsheet PDF.

↓ 88 downloadsUpdated 5d agoMIT

Cheatsheet Exporter

Export your Obsidian note as a dense cheat sheet PDF for exams, made for college and university students. It fits on one A4 or US Letter sheet, printed on one side or both.

Your theme, LaTeX, images and tables are kept, and nothing else needs to be installed.

An Obsidian note exported as a two-page cheat sheet

Short Demo

How to use

  1. Install the plugin and Enable it under Settings → Community plugins.

  2. Open the note you want to export. It has to be the note that is currently open.

  3. Open the command palette with Ctrl + P on Windows or Cmd + P on macOS, then search for and run Cheatsheet Exporter: Export current note as cheatsheet.

    Command palette

  4. Pick your paper (A4 or US Letter), whether your exam allows one side or both, then the orientation and columns per side.

  5. Adjust the font size until it fits, or press Auto recommend to fill in the orientation, columns and font that allow the largest font with nothing cut off, on the paper and sides you chose. It goes up to 10 pt and avoids columns too thin for about 40 characters per line. This could take a few seconds for large notes. I recommend at least 6 pt, otherwise the words are barely visible when printed.

  6. Press Export and choose where to save the PDF. The save dialog starts next to your note, named <note name> - cheatsheet.pdf. The PDF then opens in your default PDF app.

Printing

The sheet prints on white paper even if your theme has a coloured background, which saves ink. Turn on Print theme background under Advanced options to keep your theme's page colour. Highlights, code and callouts keep their colours either way, unless you turn on Greyscale, which prints every colour as a shade of grey. A theme with no light mode can print on a dark page or with faint text, so the dialog warns you to switch to a theme with a light mode first. Turn on Column dividers to draw a thin grey line between columns, which can make dense sheets easier to scan.

Print at actual size, not "fit to page", on the paper you picked, or the font size won't match what you chose. For double-sided printing, flip on the short edge for landscape and on the long edge for portrait.

If your note doesn't fit

The plugin warns you but never changes your content to make it fit:

  • A note too long for one sheet, or one side when single-sided, still exports in full, and the notice says how many sides it needs.
  • Formulas or tables wider than their column get cut off on paper, and the dialog and notice say how many. Open Show where under the warning to see the closest heading and the start of each one. Use fewer columns or a smaller font, or rewrite the few that don't fit.
  • Force compact spacing, on by default under Advanced options, removes the margins and padding your theme adds, which often saves a lot of space, depending on your Obsidian theme and custom styling.

Tips

  • Start with Auto recommend, which picks the largest font that fits while keeping columns readable.
  • Keep Force compact spacing on before lowering the font.
  • More columns make lines narrower, which suits short lines but not wide formulas or tables.
  • At 6 pt, keep the note under about 18,000 characters (shown in Obsidian's status bar).
  • Split long formulas across lines with aligned.
  • In thin columns, keep tables to 2 columns. Turn wider tables into headings with bullets.
  • In thin columns, enlarge images by giving them a width, like ![[diagram.png|800]] for the full column.
  • Avoid deeply nested bullet points, since each level takes up column width.
  • Use H4 headings or bold text instead of H1 and H2.
  • Keep code lines short if your theme doesn't wrap code blocks.

Compatibility and privacy

Desktop only, because PDF export uses Electron. It has been tested on Windows.

The plugin makes no network requests and has no accounts, ads or telemetry. It reads the note you export and writes the PDF where you choose in the save dialog. That can be outside your vault, and it's the only file the plugin writes there. It never reads files outside your vault.

Install manually

Download main.js, manifest.json and styles.css from the latest release into <vault>/.obsidian/plugins/cheatsheet-exporter/, then enable the plugin under Settings → Community plugins.

Develop

npm install
npm test
npm run build

License

MIT. The bundled libraries, including pdf-lib, are listed with their licences in THIRD_PARTY_NOTICES.txt.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.