aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/svg/element/polygon
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/polygon
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/polygon')
-rw-r--r--files/fr/web/svg/element/polygon/index.html10
1 files changed, 4 insertions, 6 deletions
diff --git a/files/fr/web/svg/element/polygon/index.html b/files/fr/web/svg/element/polygon/index.html
index e4981d0eb3..e410f82a01 100644
--- a/files/fr/web/svg/element/polygon/index.html
+++ b/files/fr/web/svg/element/polygon/index.html
@@ -13,10 +13,9 @@ translation_of: Web/SVG/Element/polygon
<p>L'élément <strong><code>&lt;polygon&gt;</code></strong> délimite une forme close composée d'un groupe de plusieurs segments de droites. Le dernier point est relié au premier afin de fermer la forme et de relier les traits entre deux. Pour créer une forme ouverte, voir l'élément {{SVGElement("polyline")}}.</p>
-<div id="example">
-<div class="hidden">
-<pre class="brush: css">html,body,svg { height:100% }</pre>
-</div>
+<h2>Exemple</h2>
+
+<pre class="brush: css hidden">html,body,svg { height:100% }</pre>
<pre class="brush: html">&lt;svg viewBox="0 0 200 100" xmlns="http://www.w3.org/2000/svg"&gt;
&lt;!-- Exemple d'un polygone avec le remplissage par défaut --&gt;
@@ -25,9 +24,8 @@ translation_of: Web/SVG/Element/polygon
&lt;!-- Le même polygone sans remplissage et avec un contour --&gt;
&lt;polygon points="100,100 150,25 150,75 200,0" fill="none" stroke="black" /&gt;
&lt;/svg&gt;</pre>
-</div>
-<div>{{EmbedLiveSample('example', '100', '100')}}</div>
+<p>{{EmbedLiveSample('exemple', '100', '100')}}</p>
<h2 id="Attributs">Attributs</h2>