Text can be specified as a header by preceding any text with # in a markdown cell. One # means Header 1, two # means Header 2, and so on. This shown in the following screenshot. We follow the same format as the LaTex snippet source, followed by the output formatted text:
LaTex snippet and output formatted text for headers