← Overview

Bulleted and numbered lists, nested to any depth.

How you write it in Obsidian

An unordered list:

- First item
- Second item with **bold**
    - A nested item
- Third item

A numbered list:

1. First point
2. Second point

What Obsitex generates

An unordered list becomes an itemize environment, a numbered list an enumerate environment. Nested lists become nested environments.

\begin{itemize}
  \item First item
  \item Second item with \textbf{bold}
\begin{itemize}
  \item A nested item
\end{itemize}
  \item Third item
\end{itemize}

\begin{enumerate}
  \item First point
  \item Second point
\end{enumerate}

Task lists

A task list keeps its boxes in the PDF: an empty square for an open item, a crossed one for a finished item. Nesting works the same as anywhere else.

- [ ] Draft the introduction
- [x] Collect the sources
    - [ ] A nested open item
\begin{itemize}
  \item[$\square$] Draft the introduction
  \item[$\boxtimes$] Collect the sources
\begin{itemize}
  \item[$\square$] A nested open item
\end{itemize}
\end{itemize}

Both symbols come from the amssymb package, which the standard preamble already loads.

How it looks in the PDF

lists.png

All three kinds in one page: bulleted with a nested item, numbered, and a task list with its boxes.

Tips & pitfalls