entities
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
entities [2015-03-27 15:00] – How to disable some of the default text to html conversions 81.19.3.71 | entities [2023-11-25 00:57] (current) – [See also] Klap-in | ||
---|---|---|---|
Line 14: | Line 14: | ||
see also [[wiki: | see also [[wiki: | ||
- | Details of the conversions are stored in the '' | + | =====Modifying/ |
+ | Details of the conversions are stored in the '' | ||
+ | |||
+ | If you need to //disable// some of the default conversions you could do it by adding | ||
+ | |||
+ | e.g. if you do not wish to have the letter c in brackets automatically replaced by the copyright sign < | ||
+ | (c) | ||
+ | >> #or with comment explaining that entity is removed | ||
+ | </ | ||
+ | or if you prefer another arrow <code - conf/ | ||
+ | => ▶ | ||
+ | </ | ||
+ | |||
+ | For configuration changes | ||
Even though by default it is used with simple character replacements only, the entity system can also be used to insert more complex constructs into your pages. This includes HTML. However you should be aware that doing so is bound to break when used in combination with non-HTML renderers (like [[plugin: | Even though by default it is used with simple character replacements only, the entity system can also be used to insert more complex constructs into your pages. This includes HTML. However you should be aware that doing so is bound to break when used in combination with non-HTML renderers (like [[plugin: | ||
Be sure to read about [[utf-8|UTF-8 Encoding]] before editing the config file. | Be sure to read about [[utf-8|UTF-8 Encoding]] before editing the config file. | ||
- | ===== Example | + | |
+ | ===== Example | ||
The entity mechanism can be used to adapt DokuWiki to some French typography rules that necessitate non-breaking spaces before or after some punctuation marks. | The entity mechanism can be used to adapt DokuWiki to some French typography rules that necessitate non-breaking spaces before or after some punctuation marks. | ||
- | + | <code - conf/ | |
- | << & | + | << & |
- | ? & | + | ? & |
- | : & | + | : & |
- | ! & | + | ! & |
- | ; & | + | ; & |
- | >> & | + | >> & |
+ | </ | ||
To use typography for [[wp> | To use typography for [[wp> | ||
- | | + | <code - conf/ |
- | cx ĉ | + | CX Ĉ |
- | GX Ĝ | + | cx ĉ |
- | gx ĝ | + | GX Ĝ |
- | HX Ĥ | + | gx ĝ |
- | hx ĥ | + | HX Ĥ |
- | JX Ĵ | + | hx ĥ |
- | jx ĵ | + | JX Ĵ |
- | | + | jx |
- | | + | </ |
- | | + | |
- | | + | ===== Using the number sign (#), not as comment ===== |
+ | |||
+ | In '' | ||
+ | <code - conf/ | ||
+ | ~~noheader~~ | ||
+ | </ | ||
- | =====See also===== | + | ===== See also ===== |
* [[config|Configuring DokuWiki]] | * [[config|Configuring DokuWiki]] | ||
+ | * You can install and use the [[plugin: |
entities.1427464807.txt.gz · Last modified: 2015-03-27 15:00 by 81.19.3.71