CTAN
Comprehensive TeX Archive Network

CTAN Mark­down: Sec­tions

The text can be sep­a­rated into sev­eral sec­tions. Sec­tion head­ings of or­der 1 to 6 are pro­vided. They are started by an ap­pro­pri­ate num­ber of hash marks at the be­gin­ning of a line. All hash marks at the end of the line are silently ig­nored. They can even be omit­ted. The text in be­tween is type­set as the text of the sec­tion.

  # Heading 1 #
  ## Heading 2 ##
  ### Heading 3 ###
  #### Heading 4 ####
  ##### Heading 5 #####
  ###### Heading 6 ###### 

Head­ing 1

Head­ing 2

Head­ing 3

Head­ing 4

Head­ing 5
Head­ing 6

There are two more id­ioms for mark­ing sec­tions of level 1 and 2. If You have a line start­ing with a let­ter which is un­der­lined in the next line with at least three = then it is in­ter­preted as sec­tion of level 1. The un­der­lin­ing with - is a sec­tion of level 2.

Heading 1
=========

Heading 2
---------  

Head­ing 1

Head­ing 2

CTAN Mark­down

CTAN Mark­down Tester

The re­sult of the mark­down can in­ter­ac­tively be tested with our

Mark­down Tester
Guest Book Sitemap Contact Contact Author