Changes between Version 14 and Version 15 of EntityMacro
- Timestamp:
- Sep 21, 2016, 7:19:21 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
EntityMacro
v14 v15 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = Character Entity Macro3 = Display Character Entities 4 4 5 5 == Description 6 6 7 Th e !EntityMacro packagereturns HTML 4.01 numeric character entity references from their corresponding names.7 This 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. 8 8 9 The character entity data is straight out of the DTD for HTML 4.01, so if there are errors or om missions, please refer to the [http://www.w3.org/ W3C].9 The 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]. 10 10 11 11 See: [http://www.w3.org/TR/1999/REC-html401-19991224/sgml/entities.html Character entity references in HTML 4] for more information. … … 14 14 15 15 The macro is useful in any [WikiFormatting wiki formatted] page. 16 17 {{{ 18 [[Entity(raquo)]] 19 [[Entity(name=raquo)]] 20 }}} 21 22 Both of these examples will return `»`, the guillemet `»`. 16 23 17 24 Also 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. … … 35 42 }}} 36 43 37 == Configuration38 39 44 Enable the macro in your `/trac/env/Project/conf/trac.ini` file: 40 45 … … 45 50 46 51 You may have to restart your Web server. 47 48 == Examples49 50 {{{51 [[Entity(raquo)]]52 [[Entity(name=raquo)]]53 }}}54 55 Both of these examples will return `»`, the guillemet `»`.56 52 57 53 == Recent Changes