DokuWiki

It's better when it's simple

User Tools

Site Tools


entities

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
entities [2023-02-28 07:45] – Link to new dokuwiki repo saggientities [2024-06-09 16:59] (current) – +Inserting HTML code michaelsy
Line 58: Line 58:
 jx    jx   
 </code> </code>
 +
 +===== Inserting HTML =====
 +
 +The entity mechanism can also be used to insert HTML code.
 +
 +<code - conf/entities.local.conf>
 +~~backbutton~~    <button type="button" onclick="history.back();">Back</button>
 +</code>
 +
 +Please note that everything must be in one line.
 +
  
 ===== Using the number sign (#), not as comment ===== ===== Using the number sign (#), not as comment =====
  
-In ''conf/entities.local.conf'' the number sign ''#'' is used to start comments. If you want to use it as normal character, you have to escape it via backslash ''\#''. For example:+In ''conf/entities.local.conf'' the number sign ''#'' is used to start comments. If you want to use it as normal character, you have to escape it via backslash''\#''. For example:
  
 <code - conf/entities.local.conf> <code - conf/entities.local.conf>
-~~noheader~~      <style> \#dokuwiki__header { display: none; } </style>+~~noheader~~    <style> \#dokuwiki__header { display: none; } </style>
 </code> </code>
 +
  
 ===== See also ===== ===== See also =====
   * [[config|Configuring DokuWiki]]   * [[config|Configuring DokuWiki]]
 +  * You can install and use the [[plugin:confmanager|{{https://raw.githubusercontent.com/cosmocode/confmanager/master/admin.svg?16}}]][[plugin:confmanager|Configuration File Manager]] for editing via admin interface of the wiki
entities.1677566736.txt.gz · Last modified: 2023-02-28 07:45 by saggi

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