Print Section

Objectives


A free plugin for Obsidian that prints just part of a note — the text you select, or the section under the cursor — through the system print dialog, to paper or to PDF. Obsidian can export a whole note to PDF, but it cannot print, and it cannot print part of a note at all. Print Section renders exactly the part you choose the way Reading view does — callouts, tables, code, images, embeds, diagrams and maths — and hands it to the print dialog.

  • The section under the cursor: from its heading down to the next heading of the same or a higher level, with its subsections or without them, as you prefer
  • Any selection, in the editor or in Reading view, where the blocks it touches print whole
  • Fragments that stand on their own: rows from the middle of a table keep the header row, code keeps its fence, lines from inside a callout keep its title, and nested list items lose their indentation
  • Light colours on paper, even in a dark theme, exactly as Obsidian's own Export to PDF does
  • Page numbers and a running header: 3 / 7, Page 3 of 7 or just 3 at the foot, and the note's name, or the note and section, at the top
  • Sensible page breaks: headings stay with their text; code, callouts and images are not split; a table's header row stays with its rows; long code lines wrap
  • From the editor's right-click menu, a ribbon icon, or Print note in a note's menu — and every action is also a command, so anything can be given a hotkey
  • Prints whole notes too, which Obsidian itself can only export

Prints the way your notes look

The printout is built the way Obsidian builds its own PDF export, so themes and CSS snippets written for PDF export style it too, and a note's cssclasses carry over. Mermaid diagrams, maths and embeds that draw themselves after the note renders are waited for before the page goes to the printer. Tables and styled text made with HTML Table Toolbar and HTML Font Toolbar print as they appear on screen — though Print Section needs neither of them, and they need nothing from it.

Worth knowing before you commit

Print Section is for the desktop only: printing goes through the operating system's print dialog, which Obsidian's mobile apps do not offer. That dialog is your system's, so printer, copies, paper size and orientation are chosen there; to get a PDF, choose Microsoft Print to PDF on Windows or the PDF button on macOS. Obsidian waits while the dialog is open, so if it ever seems frozen with Preparing to print… on screen, the dialog is behind another window — bring it forward with Alt+Tab, then print or cancel. And if what you want is a PDF file of a whole note every time, with no dialog in between, Obsidian's own Export to PDF is the quicker tool.

Get the Plugin


Free and open source, for Obsidian on the desktop — available in the official Obsidian community plugin directory. In Obsidian, go to Settings → Community plugins → Browse and search for “Print Section”, or open the directory page below.

Install from Obsidian Community Plugin on GitHub

Manual install (alternative): download main.js, manifest.json, and styles.css from the latest release into <your vault>/.obsidian/plugins/print-section/, then enable the plugin in Settings → Community plugins.

The editor's right-click menu offering Print section “Budget” beside a note's Budget section The printed Budget section in light colours, with the header Kitchen renovation › Budget and Page 1 of 1 at the foot

Support This Work


Print Section is free, open source, has no ads, and collects nothing about you — it runs entirely inside your vault and never touches the network; your notes go from Obsidian to your printer and nowhere else. That is the way an Obsidian plugin ought to work, and it is also why plugins like this are hard to sustain: there is no data to sell and no subscription to bill, so nothing pays for the work behind them.

Small tools take real time to build and, more importantly, to keep alive. Obsidian moves forward, printing changes underneath a plugin, bugs surface in real use, and features get added because someone asked. A donation, however small, is what makes that continued attention possible — and it directly funds the next free tool as well as the upkeep of this one.

If this plugin saved you from copying a section into a new note just to print it, please consider chipping in. It genuinely makes the difference between a project that keeps improving and one that quietly stops.

Donate

Secure payment through PayPal — no account required, and any amount is appreciated. Thank you for supporting independent, free software.