aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/svg/tutorial/texts/index.html
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/tutorial/texts/index.html
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/tutorial/texts/index.html')
-rw-r--r--files/fr/web/svg/tutorial/texts/index.html16
1 files changed, 6 insertions, 10 deletions
diff --git a/files/fr/web/svg/tutorial/texts/index.html b/files/fr/web/svg/tutorial/texts/index.html
index 50a56982f4..972538e2bd 100644
--- a/files/fr/web/svg/tutorial/texts/index.html
+++ b/files/fr/web/svg/tutorial/texts/index.html
@@ -41,10 +41,9 @@ original_slug: Web/SVG/Tutoriel/Texts
&lt;/text&gt;
</pre>
-<div class="hidden">
-<h6 id="Playable_code" name="Playable_code">Playable code</h6>
+<h4 id="exemple_jouable">Exemple jouable</h6>
-<pre class="brush:html">&lt;svg width="350" height="60" xmlns="http://www.w3.org/2000/svg"&gt;
+<pre class="brush:html hidden">&lt;svg width="350" height="60" xmlns="http://www.w3.org/2000/svg"&gt;
&lt;text&gt;
This is &lt;tspan font-weight="bold" fill="red"&gt;bold and red&lt;/tspan&gt;
&lt;/text&gt;
@@ -57,9 +56,8 @@ original_slug: Web/SVG/Tutoriel/Texts
]]&gt;&lt;/style&gt;
&lt;/svg&gt;
</pre>
-</div>
-<p>{{ EmbedLiveSample('Playable_code', '100%', 100) }}</p>
+<p>{{ EmbedLiveSample('exemple_jouable', '100%', 100) }}</p>
<p>L'élément tspan peut prendre les attributs personnalisés suivants:</p>
@@ -99,10 +97,9 @@ original_slug: Web/SVG/Tutoriel/Texts
  &lt;/textPath&gt;
&lt;/text&gt;</pre>
-<div class="hidden">
-<h6 id="Playable_code_2" name="Playable_code_2">Playable code 2</h6>
+<h4 id="code_jouable_2">Code jouable 2</h4>
-<pre class="brush:html">&lt;svg width="200" height="100" xmlns="http://www.w3.org/2000/svg"&gt;
+<pre class="brush:html hidden">&lt;svg width="200" height="100" xmlns="http://www.w3.org/2000/svg"&gt;
&lt;path id="my_path" d="M 20,20 C 80,60 100,40 120,20" fill="transparent" /&gt;
&lt;text&gt;
  &lt;textPath xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#my_path"&gt;
@@ -118,8 +115,7 @@ original_slug: Web/SVG/Tutoriel/Texts
]]&gt;&lt;/style&gt;
&lt;/svg&gt;
</pre>
-</div>
-<p>{{ EmbedLiveSample('Playable_code_2', '100%', 100) }}</p>
+<p>{{ EmbedLiveSample('code_jouable_2', '100%', 100) }}</p>
<div>{{PreviousNext("Web/SVG/Tutoriel/Motifs", "Web/SVG/Tutoriel/Transformations_de_base")}}</div>