DokuWiki

It's better when it's simple

User Tools

Site Tools


faq:headerlinks

This is an old revision of the document!


This is an old revision of the document! Links or Formatting in Headlines

:?: It seems that I can't use any other syntax inside headlines. Is this a bug?

:!: No, it's not a bug. It's a limitation of how headlines work in DokuWiki. There are two reasons:

  From a typographic view it's considered bad style to have any formatting in headlines
  The headlines are used in the TOC and some other places as well, doing this with markup in between would be technically very complicated and error prone

A more detailed technical explanation is available in this mailing list post.

:?: But what about typographical entities (like em-dash, copyright symbol, curly quotes, etc)?

:!: You can include any special character into the headings. Typographic conversions don't work in headings but adding the resulting characters directly works. You can use the character picker () in the editing toolbar to do that.

:?: But what about illustrating a headline with an icon or making it italic?

:!: General styling can still be done with CSS, including icons, italics, backgrounds and color. See how to style headers with use casess and pictures.

:!: If you really want to insert wiki syntax in the header, try plugin Header2.

faq/headerlinks.1506056885.txt.gz · Last modified: 2017-09-22 07:08 by 212.184.10.242

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki