Changeset 88370 in spip-zone


Ignore:
Timestamp:
Apr 1, 2015, 9:15:25 AM (4 years ago)
Author:
maieul@…
Message:

on met tout cela dans un joli paquet avec un bon truc pour installer

Location:
_contribs_/pygments/trunk
Files:
3 added
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • _contribs_/pygments/trunk/.gitignore

    r88344 r88370  
    11output.html
    22*.pyc
     3dist/*
     4build/*
     5spip.egg*
  • _contribs_/pygments/trunk/output.html

    r88334 r88370  
     1<html><head><style>.highlight .hll { background-color: #ffffcc }
     2.highlight  { background: #f8f8f8; }
     3.highlight .c { color: #408080; font-style: italic } /* Comment */
     4.highlight .err { border: 1px solid #FF0000 } /* Error */
     5.highlight .k { color: #008000; font-weight: bold } /* Keyword */
     6.highlight .o { color: #666666 } /* Operator */
     7.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
     8.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
     9.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
     10.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
     11.highlight .gd { color: #A00000 } /* Generic.Deleted */
     12.highlight .ge { font-style: italic } /* Generic.Emph */
     13.highlight .gr { color: #FF0000 } /* Generic.Error */
     14.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
     15.highlight .gi { color: #00A000 } /* Generic.Inserted */
     16.highlight .go { color: #808080 } /* Generic.Output */
     17.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
     18.highlight .gs { font-weight: bold } /* Generic.Strong */
     19.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
     20.highlight .gt { color: #0040D0 } /* Generic.Traceback */
     21.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
     22.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
     23.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
     24.highlight .kp { color: #008000 } /* Keyword.Pseudo */
     25.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
     26.highlight .kt { color: #B00040 } /* Keyword.Type */
     27.highlight .m { color: #666666 } /* Literal.Number */
     28.highlight .s { color: #BA2121 } /* Literal.String */
     29.highlight .na { color: #7D9029 } /* Name.Attribute */
     30.highlight .nb { color: #008000 } /* Name.Builtin */
     31.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
     32.highlight .no { color: #880000 } /* Name.Constant */
     33.highlight .nd { color: #AA22FF } /* Name.Decorator */
     34.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
     35.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
     36.highlight .nf { color: #0000FF } /* Name.Function */
     37.highlight .nl { color: #A0A000 } /* Name.Label */
     38.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
     39.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
     40.highlight .nv { color: #19177C } /* Name.Variable */
     41.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
     42.highlight .w { color: #bbbbbb } /* Text.Whitespace */
     43.highlight .mf { color: #666666 } /* Literal.Number.Float */
     44.highlight .mh { color: #666666 } /* Literal.Number.Hex */
     45.highlight .mi { color: #666666 } /* Literal.Number.Integer */
     46.highlight .mo { color: #666666 } /* Literal.Number.Oct */
     47.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
     48.highlight .sc { color: #BA2121 } /* Literal.String.Char */
     49.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
     50.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
     51.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
     52.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
     53.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
     54.highlight .sx { color: #008000 } /* Literal.String.Other */
     55.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
     56.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
     57.highlight .ss { color: #19177C } /* Literal.String.Symbol */
     58.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
     59.highlight .vc { color: #19177C } /* Name.Variable.Class */
     60.highlight .vg { color: #19177C } /* Name.Variable.Global */
     61.highlight .vi { color: #19177C } /* Name.Variable.Instance */
     62.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */</style></head><body><div class="highlight"><pre><span class="nc">&lt;BOUCLE_simple</span><span class="vi">(NOM)</span><span class="nc">&gt;</span>
     63<span class="nc">&lt;/BOUCLE_simple&gt;</span>
     64<span class="nc">&lt;B_nom&gt;</span>
     65<span class="nc">&lt;BOUCLE_nom</span><span class="vi">(NOMS)</span><span class="na">{criteres}</span><span class="nc"> </span><span class="na">{critere ?}</span><span class="nc"> </span><span class="na">{critere==XX}</span><span class="nc"> </span><span class="na">{critere==?xx}</span><span class="nc"> </span><span class="na">{critere==</span><span class="k">#BALISE</span><span class="nf">|filtre</span><span class="na">{arg,</span><span class="k">#BALISE</span><span class="nf">|filtre</span><span class="na">}}</span><span class="nc">&gt;</span>
     66
     67<span class="k">#BALISE</span>
     68
     69<span class="k">#BALISE*</span>
     70
     71[(<span class="k">#_</span><span class="kt">boucle:</span><span class="k">BALISE</span><span class="na">{critere}</span><span class="nf">|filtre</span>)]
     72
     73<span class="k">#BALISE**</span>
     74
     75[(<span class="k">#BALISE</span>)]
     76
     77[(<span class="k">#BALISE</span><span class="na">{argument}</span>)]
     78
     79[(<span class="k">#BALISE</span><span class="nf">|filtre</span>)]
     80
     81[(<span class="k">#BALISE</span><span class="nf">|filtre</span><span class="na">{arg,arg2}</span>) parti optionelle]
     82
     83[(<span class="k">#BALISE</span><span class="nf">|class::methode</span>)]
     84
     85
     86[(<span class="k">#TITRE</span><span class="nf">|strlen</span>|&gt;<span class="na">{30}</span><span class="nf">|oui</span>) Un filtre de test]
     87Texte en vrac.
     88
     89Lorem Ipsum dolor amat etc. Si, si je vous assure !!!
     90<span class="sx">&lt;:prefix:code:&gt;</span>
     91<span class="sx">&lt;:code:&gt;</span>
     92<span class="sx">&lt;:prefixe:code</span><span class="na">{param=valeur}</span><span class="nf">|filtre</span><span class="na">{params}</span><span class="sx">:&gt;</span>
     93
     94<span class="sx">&lt;:prefixe:code</span><span class="na">{param=valeur}</span><span class="nf">|filtre</span><span class="na">{</span><span class="sx">&lt;:chaine:&gt;</span><span class="na">}</span><span class="sx">:&gt;</span>
     95<span class="sx">&lt;:prefixe:code</span><span class="na">{param=valeur}</span><span class="sx">:&gt;</span>
     96<span class="nc">&lt;/BOUCLE_nom&gt;</span>
     97<span class="nc">&lt;/B_nom&gt;</span>`
     98<span class="nc">&lt;//B_nom&gt;</span>
     99</pre></div>
     100</body></html>
Note: See TracChangeset for help on using the changeset viewer.