Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Lightweight markup language
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== Prefixed headings ==== <pre># Level 1 Heading ## Level 2 Heading ## ### Level 3 Heading ###</pre> The second style is based on repeated markers (e.g. hash <code>#</code>, equals <code>=</code> or asterisk <code>*</code>) at the start of the heading itself, where the number of repetitions indicates the (sometimes inverse) heading level. Most languages also support the reduplication of the markers at the end of the line, but whereas some make them mandatory, others do not even expect their numbers to match. {| class="wikitable sortable" |+ Line prefix (and suffix) headings ! {{diagonal split header|Language|Character}} ! <code><nowiki>=</nowiki></code> ! <code><nowiki>#</nowiki></code> ! <code><nowiki>*</nowiki></code> ! <code><nowiki>!</nowiki></code> ! <code><nowiki>+</nowiki></code> ! Suffix ! Levels <!--i.e. more chars mean higher level, including smaller letters.--> ! Indentation <!-- possible either additional to or instead of repetition or not at all --> |- ! {{rh}} | [[AsciiDoc]] | {{yes}} || {{no}} || {{no}} || {{no}} || {{no}} | {{optional}} || 1β6 || {{no}} |- ! {{rh}} | [[Creole (markup)|Creole]] | {{yes}} || {{no}} || {{no}} || {{no}} || {{no}} | {{optional}} || 1β6 || {{no}} |- ! {{rh}} | [[DokuWiki]] | {{yes}} || {{no}} || {{no}} || {{no}} || {{no}} || {{yes}} || 6-1 || {{no}} |- ! {{rh}} | [[Gemtext]] | {{no}} || {{yes}} || {{no}} || {{no}} || {{no}} | {{dunno}} || 1β3 || {{no}} |- ! {{rh}} | [[Markdown]] | {{no}} || {{yes}} || {{no}} || {{no}} || {{no}} | {{optional}} || 1β6 || {{no}} |- ! {{rh}} | [[MediaWiki#Markup|MediaWiki]] | {{yes}} || {{no}} || {{no}} || {{no}} || {{no}} | {{yes}} || 1β6 || {{no}} |- ! {{rh}} | [[Org-mode]] | {{no}} || {{no}} || {{yes}} || {{no}} || {{no}} | {{no}} || 1β +β || {{yes|alternative}}<ref>{{cite web |title=The Org Manual: section "A Cleaner Outline View" |url=https://orgmode.org/org.html#Clean-View |access-date=14 June 2020 |ref=orgmanual-cleaner-outline-view}}</ref><ref>{{cite web|url=http://lists.gnu.org/archive/html/emacs-orgmode/2009-07/msg00651.html |title=using org-adapt-indentation}}</ref><ref>{{cite web|url=http://emacs.stackexchange.com/questions/3786/indented-multi-tiered-lists-and-headings-with-org-indent-mode |title=using org-indent-mode or org-indent}}</ref> |- ! {{rh}} | [[PmWiki]] | {{no}} || {{no}} || {{no}} || {{yes}} || {{no}} | {{optional}} || 1β6 || {{no}} |- ! {{rh}} | [[Texy!]] | {{yes}} || {{yes}} || {{no}} || {{no}} || {{no}} | {{optional}} || 6β1, dynamic || {{no}} |- ! {{rh}} | [[TiddlyWiki]] | {{no}} || {{no}} || {{no}} || {{yes}} || {{no}} | {{no}} || 1β6 || {{no}} |- ! {{rh}} | [[txt2tags]] | {{yes}} || {{no}} || {{no}} || {{no}} || {{yes}} | {{yes}} || 1β6 || {{no}} <!--Using <code>+</code> characters instead of <code>=</code> characters creates numbered headers (the default being unnumbered).--> |- |} Org-mode supports indentation as a means of indicating the level. [[BBCode]] does not support section headings at all. POD and Textile choose the HTML convention of numbered heading levels instead. {| class="wikitable sortable" |+ Other heading formats |- ! Language ! Format |- ! {{rh}} | [[Plain Old Documentation|POD]] |<pre>=head1 Level 1 Heading =head2 Level 2 Heading</pre> |- ! {{rh}} | [[Textile (markup language)|Textile]],<ref name="textile_syntax"/> [[Jira_(software)|Jira]]<ref name="jira"/> |<pre>h1. Level 1 Heading h2. Level 2 Heading h3. Level 3 Heading h4. Level 4 Heading h5. Level 5 Heading h6. Level 6 Heading</pre> |} Microsoft Word supports auto-formatting paragraphs as headings if they do not contain more than a handful of words, no period at the end and the user hits the enter key twice. For lower levels, the user may press the tabulator key the according number of times before entering the text, i.e. one through eight tabs for heading levels two through nine.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)