How to remove heading numbers in Jupyter during pdf conversion?

Ébe Isaac picture Ébe Isaac · Jan 29, 2016 · Viewed 13.5k times · Source

When I use the heading tags (# ##, etc) using markdown, they are always converted to numbered sections during pdf-latex conversion.

How to indicate unnumbered headings in markdown in Jupyter Notebook (IPython)?

I realize this can be done by adding a '*' right next to each section directly in the latex document, but is there any other way to do this?

Answer

Samuel picture Samuel · Nov 23, 2017

You can write an unnumbered heading by appending {-} or {.unnumbered} to the Markdown cell, e.g.:

Heading {-}

The output is a heading without a number, like so:

Heading

This is documented in Pandoc's Markdown which is an extended and slightly revised version of the original Markdown syntax.