Changes between Version 14 and Version 15 of TicketGuidelines/Included
- Timestamp:
- 2017-05-19T20:04:27+02:00 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TicketGuidelines/Included
v14 v15 1 1 ''Editing Tips'' 2 2 3 * '' 'textarea' view in the editing frame is highly recommended instead of 'wysiwyg' view (autocomplete feature for links, macros & processors with contextual help). See TracLinks, WikiMacros, WikiProcessors, TracSyntaxColoring for more...'' 4 * ''Useful macros'' 5 3 6 {{{#!table class="" 4 {{{#!t d style="vertical-align: top;"5 * ''Use of 'textarea' view in the editing frame is highly recommended instead of 'wysiwyg' view\\(autocomplete feature for links, macros & processors with contextual help)''\\''See TracLinks, WikiMacros, WikiProcessors, TracSyntaxColoring for more...''7 {{{#!th 8 ''Display an image'' 6 9 }}} 7 {{{#!td rowspan="2" style="vertical-align: top;" 8 * ''Include a highlighted code block'' 9 * ''Fortran'' 10 {{{ 11 {{{#!f 12 ... 13 }}} 14 }}} 15 * ''SVN diff'' 16 {{{ 17 {{{#!diff 18 ... 19 }}} 20 }}} 10 {{{#!td 11 {{{ 12 syntax: "[[Image(file, [width=], [align=], ...)]]" 13 example: "[[Image(htdocs:NEMO_logo.png, 120px, right)]]" 14 help in preview: "[[Image?]]" 15 }}} 21 16 }}} 22 {{{#!td rowspan="2" style="vertical-align: top;" 23 * ''Include a repository file with syntax highlighting'' 24 * ''Totally'' 25 {{{ 26 [[MacroChain(Include(source:/branches/2015/nemo_v3_6_STABLE/NEMOGCM/...), mimetype/processor]] 27 [[MacroChain?]] to display help in preview 28 }}} 29 * ''Partially'' 30 {{{ 31 [[IncludeSource(/branches/2015/nemo_v3_6_STABLE/NEMOGCM/..., start=, end=, line_numbers=0)]] 32 [[IncludeSource?]] to display help in preview 33 }}} 17 {{{#!th 18 ''Highlight Fortran code block'' 34 19 }}} 35 |- 36 {{{#!td style="vertical-align: top;" 37 * ''Display an image'' 20 {{{#!td 21 {{{ 22 {{{#!f 23 Your fortran code 24 }}} 25 }}} 26 }}} 27 {{{#!th 28 ''Render nicely SVN diff'' 29 }}} 30 {{{#!td 31 {{{ 32 {{{#!diff 33 Paste `svn diff` output 34 }}} 35 }}} 36 }}} 37 }}} 38 39 {{{#!table class="" 40 {{{#!th 41 ''Include totally or partially a repository file with syntax highlighting'' 42 }}} 43 {{{#!td 38 44 {{{ 39 [[Image(name, width=, align=)]] 40 [[Image?]] to display help in preview 45 syntax: "[[IncludeSource(path,[start=], [end=], [line_numbers=0|1], [mimetype=], [header=])]]" 46 example: "[[IncludeSource(/branches/2015/nemo_v3_6_STABLE/NEMOGCM/NEMO/OPA_SRC/nemo.f90, start=2, end=20, line_numbers=0)]]" 47 help in preview: "[[IncludeSource?]]" 41 48 }}} 42 49 }}} 50 }}}