New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
TicketGuidelines/Included (diff) – NEMO

Changes between Version 14 and Version 15 of TicketGuidelines/Included


Ignore:
Timestamp:
2017-05-19T20:04:27+02:00 (7 years ago)
Author:
nicolasmartin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TicketGuidelines/Included

    v14 v15  
    11''Editing Tips'' 
    22 
     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 
    36{{{#!table class="" 
    4 {{{#!td 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'' 
    69}}} 
    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   {{{ 
     12syntax:          "[[Image(file, [width=], [align=], ...)]]" 
     13example:         "[[Image(htdocs:NEMO_logo.png, 120px, right)]]" 
     14help in preview: "[[Image?]]" 
     15   }}} 
    2116}}} 
    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'' 
    3419}}} 
    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 
    3844      {{{ 
    39          [[Image(name, width=, align=)]] 
    40          [[Image?]] to display help in preview 
     45syntax:          "[[IncludeSource(path,[start=], [end=], [line_numbers=0|1], [mimetype=], [header=])]]" 
     46example:         "[[IncludeSource(/branches/2015/nemo_v3_6_STABLE/NEMOGCM/NEMO/OPA_SRC/nemo.f90, start=2, end=20, line_numbers=0)]]" 
     47help in preview: "[[IncludeSource?]]" 
    4148      }}} 
    4249}}} 
     50}}}