---json { "description": "A description for the search page result engine", "page_id": "ehow19jms037wxbiv8yuc", "title": "ComboStrap Heading" } --- ====== ComboStrap UI - Heading ====== ===== About ===== An ''heading'' has two different functions: * the first one is ''structural'' and generates the [[docs:navigation:outline|outline (structure of the document]]). The table of content (TOC) is created from this structure. * the second one is ''semantic'' and defines the title of a [[docs:block:block|block component]]. The rule is simple, when a heading is not in a [[docs:component|component]], it's a [[docs:navigation:outline|outline heading]], otherwise, it's the ''title'' of the component. If you search the ''title'' of a ''page'', see the page [[docs:page:title]] ===== Syntax ===== To define an heading, you can use the following ''heading'' syntax. ==== Wiki ==== The wiki heading start with 6 hashtag ''%%#%%'' characters for the level 1 ([[docs:page:h1|h1]]) and goes down by one. The higher the level, the higher the visual emphasis. ====== Headline Level 1 ====== ===== Headline Level 2 ===== ==== Headline Level 3 ==== === Headline Level 4 === == Headline Level 5 == To facilitate the writing, you can use the following keyboard shortcuts: * select the heading text * and type one of the following [[docs:utility:shortcut|keyboard shortcuts]]: * ''alt+8'' for the same level than the previous heading * ''alt+9'' for a level lower than the previous heading * ''alt+0'' for a level higher than the previous heading ### Markdown The [[docs:utility:markdown|markdown]] atx heading start with 1 or more hashtag ''%%#%%'' characters. * The level 1 heading (the title) starts with #, * section headings with ##, * subheads with ###, * and so on. This is: * the best syntax for writing because you just need to adds up the number of hashtag to get the wanted heading level. * the worst syntax visually because a lower level will have more emphasis than an higher # Headline Level 1 ## Headline Level 2 ### Headline Level 3 #### Headline Level 4 ##### Headline Level 5 ###### Headline Level 6 Marki ''heading'' is a [[docs:marki|marki syntax]]. You can therefore apply all [[docs:styling:styling|styling attributes]] (such as adding an ''id'' if you want to specify your fragment) Heading where: * [[docs:styling:type|type]] is: * ''h1'' to ''h6'' for HTML heading styling * ''d1'' to ''d4'' for bigger heading display (used mostly in landing page) * ''level'' is the heading level (ie 1 to 6, default to the number in the type) Example: * HTML Heading Heading 1 Heading 2 Heading 3 Heading 4 Heading 5 Heading 6 * Display Heading Heading 1 Heading 2 Heading 3 Heading 4 ===== Configuration ===== ==== headingWikiEnable ==== You can disable the [[#wiki|combo wiki heading]] and uses the standard dokuwiki syntax. It's used mainly if you want to use: * the [[support:include|include plugin]] to include section. * the [[support:ckgedit|ckgedit editor plugin]]