Overview

Hide a piece of text, skip a whole file, or drop a block — none of it reaches the PDF.

Inline comments

Obsidian comment syntax is removed during conversion. You write:

Text can contain %%an inline comment%% that never reaches the PDF.

and Obsitex generates:

Text can contain  that never reaches the PDF.

Both %%…%% and <!-- … --> are dropped.

Ignoring a block

A fenced block tagged remark is ignored entirely — use it for notes to yourself that should never appear in the document:

This block is a note to yourself. The converter ignores it entirely.

Skipping a whole file

Add the property skip: true (or latex-remark: true) to the note — Obsidian's Properties, stored as YAML frontmatter — and the whole file is left out of the document:

---
skip: true
---

# Draft
This file is excluded from the output.

Hiding a file from the order

You can also keep a file out by hiding it in Flexplorer (the plugin that sets your document order). A file marked hidden there does not appear in the document. See Document order.

Tips & pitfalls