Difference between revisions of "Translations:Help:Contents/7/fr"
ChristianW (talk | contribs) |
ChristianW (talk | contribs) |
||
Line 1: | Line 1: | ||
; Mise en forme de la syntaxe | ; Mise en forme de la syntaxe | ||
− | : Entourez vos sections de code C++ Qt ou KDE avec <code><tt><syntaxhighlight lang="cpp"></tt>, <tt><syntaxhighlight lang="cpp" line=""></tt>, <tt><syntaxhighlight lang="cpp-qt"></tt></code> et <code><tt></syntaxhighlight></tt></code> pour obtenir la mise en forme (<tt>cpp</tt> pour C++, <tt>cpp-qt</tt> pour Qt) et la numérotation des lignes (<tt>line=""</tt>). Remplacez <tt>cpp</tt> par le [http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi#Supported_languages | + | : Entourez vos sections de code C++ Qt ou KDE avec <code><tt><syntaxhighlight lang="cpp"></tt>, <tt><syntaxhighlight lang="cpp" line=""></tt>, <tt><syntaxhighlight lang="cpp-qt"></tt></code> et <code><tt></syntaxhighlight></tt></code> pour obtenir la mise en forme (<tt>cpp</tt> pour C++, <tt>cpp-qt</tt> pour Qt) et la numérotation des lignes (<tt>line=""</tt>). Remplacez <tt>cpp</tt> par le [http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi#Supported_languages langage utilisé], par exemple <tt>ruby</tt> pour Ruby et <tt>python</tt> pour Python (bientôt). Utilisez <tt>ini</tt> pour les fichiers {{path|.desktop}} et <tt>xml</tt> pour les fichiers XML. |
Revision as of 13:01, 18 May 2019
- Mise en forme de la syntaxe
- Entourez vos sections de code C++ Qt ou KDE avec
<syntaxhighlight lang="cpp">, <syntaxhighlight lang="cpp" line="">, <syntaxhighlight lang="cpp-qt">
et</syntaxhighlight>
pour obtenir la mise en forme (cpp pour C++, cpp-qt pour Qt) et la numérotation des lignes (line=""). Remplacez cpp par le langage utilisé, par exemple ruby pour Ruby et python pour Python (bientôt). Utilisez ini pour les fichiers .desktop et xml pour les fichiers XML.
This page was last edited on 18 May 2019, at 13:01. Content is available under Creative Commons License SA 4.0 unless otherwise noted.