Changes between Version 4 and Version 5 of GenshiMacro
- Timestamp:
- Mar 12, 2015, 7:06:45 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GenshiMacro
v4 v5 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = Genshi Macro = 4 5 == Description == 3 = Plugin to render Genshi templates directly in wiki pages 6 4 7 5 {{{#!box warn 8 **Notice:** This plugin is deprecated.6 **Notice:** This plugin has not been developed with security considerations in mind. 9 7 }}} 10 8 11 == Genshi processor for wiki pages ==9 == Description 12 10 13 === Description === 11 The GenshiMacro allows you to write and render Genshi templates directly in wiki pages with a new `Genshi` processor. 14 12 15 The GenshiMacro allows you to write and render Genshi templates directly 16 in wiki pages with a new ``Genshi`` processor. 13 Your templates will have access to the request as `req`, which can be useful for tasks like URL generation, rendering form tokens for POST requests, and checking for a logged-in user. 17 14 18 Your templates will have access to the request as ``req``, which can be 19 useful for tasks like URL generation, rendering form tokens for POST 20 requests, and checking for a logged-in user. 15 '''Note: no security considerations whatsoever went into the making of this plugin. If you happen to know how it can be improved, please let me know.''' 21 16 22 '''Note: no security considerations whatsoever went into the making of 23 this plugin. It might be a terrible idea. If you happen to know that 24 it is, please let me know.''' 25 26 === Configuration and Usage === 27 28 To use the plugin, install it in your Trac environment and enable its 29 components in ``trac.ini``:: 30 31 {{{ 32 [components] 33 genshimacro.* = enabled 34 }}} 35 36 You can then write Genshi templates directly in wiki pages. 37 38 39 == Bugs/Feature Requests == 17 == Bugs/Feature Requests 40 18 41 19 Existing bugs and feature requests for GenshiMacro are … … 45 23 [http://trac-hacks.org/newticket?component=GenshiMacro&owner=ejucovy new ticket]. 46 24 47 == Download ==25 == Download 48 26 49 27 Download the zipped source from [https://github.com/ejucovy/trac-GenshiMacro/tags here]. 50 28 51 == Source ==29 == Source 52 30 53 31 You can clone GenshiMacro from [git://github.com/ejucovy/trac-GenshiMacro.git here] using Git, or [https://github.com/ejucovy/trac-GenshiMacro browse the source] with Github. 54 32 55 == Example == 33 == Configuration and Usage 34 35 To use the plugin, install it in your Trac environment and enable its components in `trac.ini`: 36 37 {{{ 38 [components] 39 genshimacro.* = enabled 40 }}} 41 42 You can then write Genshi templates directly in wiki pages. 43 44 == Example 56 45 57 46 {{{ … … 81 70 }}} 82 71 83 == Recent Changes ==72 == Recent Changes 84 73 85 74 [[ChangeLog(genshimacro, 3)]] 86 75 87 == Author/Contributors ==76 == Author/Contributors 88 77 89 78 '''Author:''' [wiki:ejucovy] [[BR]]