aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/svg/element/line
diff options
context:
space:
mode:
authorSphinxKnight <SphinxKnight@users.noreply.github.com>2021-11-01 07:45:47 +0100
committerGitHub <noreply@github.com>2021-11-01 07:45:47 +0100
commite7f1d07cba1f78b72eb43bfcdabc262359c4991a (patch)
tree04dbbcb9a5ed0ccf1cfb31bdce6a7ab9a5866be8 /files/fr/web/svg/element/line
parentaab1606ed15d15bb1dc3a73f33dd60b7230e77fa (diff)
downloadtranslated-content-e7f1d07cba1f78b72eb43bfcdabc262359c4991a.tar.gz
translated-content-e7f1d07cba1f78b72eb43bfcdabc262359c4991a.tar.bz2
translated-content-e7f1d07cba1f78b72eb43bfcdabc262359c4991a.zip
Prepare SVG section for Markdown conversion (#2570)
* Remove summary classes * Remove hidden classes out of pre * Remove spans * Remove notranslate class * Remove ids out of headings * missed 2 ids with regex * clean note and warning cards * fix headings errors * Fix dls and as * fix imgs * lint stuff (absolute urls, english links) * Temporarily readding file * delete inexisting doc in en-US with flaws * Fixes #2842 for SVG
Diffstat (limited to 'files/fr/web/svg/element/line')
-rw-r--r--files/fr/web/svg/element/line/index.html15
1 files changed, 8 insertions, 7 deletions
diff --git a/files/fr/web/svg/element/line/index.html b/files/fr/web/svg/element/line/index.html
index c80dd0aeed..d5adf5895e 100644
--- a/files/fr/web/svg/element/line/index.html
+++ b/files/fr/web/svg/element/line/index.html
@@ -18,17 +18,18 @@ translation_of: Web/SVG/Element/line
<p>{{svginfo}}</p>
-<h2 id="Exemple">Exemple</h2>
+<h2>Exemple</h2>
-<p>» <a href="https://developer.mozilla.org/files/3254/line.svg" title="https://developer.mozilla.org/files/3254/line.svg">line.svg</a></p>
+<pre class="brush: css hidden">html,body,svg { height:100% }</pre>
-<p>Vous pouvez aussi appliquer une transformation pour avoir le même résultat. En commençant avec une ligne normale,</p>
+<pre class="brush: html">&lt;svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"&gt;
+ &lt;line x1="0" y1="80" x2="100" y2="20" stroke="black" /&gt;
-<p>» <a href="https://developer.mozilla.org/files/3345/line1.svg" title="https://developer.mozilla.org/files/3345/line1.svg">line1.svg</a></p>
+ &lt;!-- Si on n'indique pas stroke, la ligne de couleur
+ ne sera pas visible --&gt;
+&lt;/svg&gt;</pre>
-<p>ajoutez des options de transformation pour changer la direction de la ligne :</p>
-
-<p>» <a href="https://developer.mozilla.org/files/3346/line2.svg" title="https://developer.mozilla.org/files/3346/line2.svg">line2.svg</a></p>
+<p>{{EmbedLiveSample('exemple', 100, 100)}}</p>
<h2 id="Attributs">Attributs</h2>