Changes between Version 14 and Version 15 of EntityMacro


Ignore:
Timestamp:
Sep 21, 2016, 7:19:21 PM (8 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • EntityMacro

    v14 v15  
    11[[PageOutline(2-5,Contents,pullout)]]
    22
    3 = Character Entity Macro
     3= Display Character Entities
    44
    55== Description
    66
    7 The !EntityMacro package returns HTML 4.01 numeric character entity references from their corresponding names.
     7This is a macro that when inserted into a wiki page or ticket displays a [https://dev.w3.org/html5/html-author/charref character entity]. It returns HTML 4.01 numeric character entity references from their corresponding names.
    88
    9 The character entity data is straight out of the DTD for HTML 4.01, so if there are errors or ommissions, please refer to the [http://www.w3.org/ W3C].
     9The character entity data is straight out of the DTD for HTML 4.01, so if there are errors or omissions, please refer to the [http://www.w3.org/ W3C].
    1010
    1111See: [http://www.w3.org/TR/1999/REC-html401-19991224/sgml/entities.html Character entity references in HTML 4] for more information.
     
    1414
    1515The macro is useful in any [WikiFormatting wiki formatted] page.
     16
     17{{{
     18[[Entity(raquo)]]
     19[[Entity(name=raquo)]]
     20}}}
     21
     22Both of these examples will return `»`, the guillemet `»`.
    1623
    1724Also see the WikiGoodiesPlugin, which supports smileys, HTML 4.0 entities (named entities and numerical entities), automatic replacement of common text idioms by their corresponding symbols, such as arrows, fractions, etc.
     
    3542}}}
    3643
    37 == Configuration
    38 
    3944Enable the macro in your `/trac/env/Project/conf/trac.ini` file:
    4045
     
    4550
    4651You may have to restart your Web server.
    47 
    48 == Examples
    49 
    50 {{{
    51 [[Entity(raquo)]]
    52 [[Entity(name=raquo)]]
    53 }}}
    54 
    55 Both of these examples will return `»`, the guillemet `»`.
    5652
    5753== Recent Changes