Skip to content

Commit 383216a

Browse files
authored
Merge pull request #401 from linuxfrorg/md_help_bis
fix help for different keyboard mappings
2 parents bca7afa + 0bf4498 commit 383216a

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

app/views/redaction/news/_wiki_help.html.haml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
%th{'colspan' => 2} Liens
3737
%tr
3838
%td
39-
%td [autre site](www.example.com/page)
39+
%td [autre site](https://www.example.com/page)
4040
%tr
4141
%td
42-
%td [[Wikipédia]]
42+
%td [[Wikipédia]] ou [[de:Wikipedia]]
4343
%tr
4444
%td
4545
%td [[[Wiki]]] interne
@@ -73,7 +73,7 @@
7373
%td <svg style="width: 2ex; height: 4.875ex; vertical-align: -1.75ex; margin-top: 1px; margin-bottom: 1px; position: static; " viewBox="0 -1381.0887122916058 865 2106.6204245832114" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs id="MathJax_SVG_glyphs"><path id="STIXWEBMAIN-31" stroke-width="10" d="M394 0h-276v15c74 4 95 25 95 80v449c0 34 -9 49 -30 49c-10 0 -27 -5 -45 -12l-27 -10v14l179 91l9 -3v-597c0 -43 20 -61 95 -61v-15Z"></path><path id="STIXWEBMAINI-78" stroke-width="10" d="M243 355l12 -57c70 107 107 143 151 143c24 0 41 -15 41 -37c0 -21 -14 -36 -34 -36c-19 0 -28 17 -52 17c-18 0 -54 -44 -98 -121c0 -7 2 -21 8 -45l32 -134c7 -28 16 -41 30 -41c13 0 24 10 47 40c9 12 13 18 21 28l15 -9c-58 -90 -84 -114 -122 -114 c-32 0 -47 18 -59 68l-29 119l-88 -119c-44 -59 -64 -68 -95 -68s-50 16 -50 42c0 20 14 36 34 36c9 0 19 -4 32 -11c10 -6 20 -9 26 -9c11 0 30 19 51 49l82 116l-28 124c-14 60 -21 68 -46 68c-8 0 -20 -2 -39 -7l-18 -5l-3 16l11 4c61 22 94 29 117 29 c25 0 37 -18 51 -86Z"></path></defs><g stroke="black" fill="black" stroke-width="0" transform="matrix(1 0 0 -1 0 0)"><g transform="translate(120,0)"><rect stroke="none" width="625" height="60" x="0" y="220"></rect><use href="#STIXWEBMAIN-31" x="60" y="676" xlink:href="#STIXWEBMAIN-31"></use><use href="#STIXWEBMAINI-78" x="86" y="-686" xlink:href="#STIXWEBMAINI-78"></use></g></g></svg>
7474
%td $$\frac{1}{x}$$
7575
%tr.tr-title
76-
%th{'colspan' => 2} Racourcis claviers
76+
%th{'colspan' => 2} Racourcis claviers (AZERTY, QWERTY, QWERTZ)
7777
%tr
7878
%td ’
7979
%td Alt Gr + Maj + B
@@ -82,7 +82,7 @@
8282
%td Alt Gr + B
8383
%tr
8484
%td «
85-
%td Alt Gr + Z
85+
%td Alt Gr + W (ou Y ou Z)
8686
%tr
8787
%td »
8888
%td Alt Gr + X

app/views/shared/_wiki_help.html.haml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.markdown_cheatsheet
22
= image_tag "/images/markdown.png", alt: "Markdown", title: "Ce site prend en charge la syntaxe Markdown", class: "markdown"
33
%h2 Aide‑mémoire sur la syntaxe Markdown
4-
Voir la <a href="/wiki/aide-edition" title="Lien du wiki interne LinuxFr.org">page de documentation détaillée</a> sur le wiki avec des exemples Markdown et leur rendu. Ci-dessous l'essentiel :
4+
Voir la <a href="/wiki/aide-edition" title="Aide à l’édition sur le wiki interne LinuxFr.org">page de documentation détaillée</a> sur le wiki avec des exemples Markdown et leur rendu. Ci-dessous l'essentiel :
55

66
%hr
77

@@ -11,13 +11,13 @@
1111
%td Caractères spéciaux à copier‑coller
1212
%td ½ ⅓ ¼ ⅕ ⅙ ⅐ ⅛ ⅑ ⅔ ¾<br/>⁽ ⁾ ⁺ ⁻ ⁰ ¹ ²  ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ᵃ ᵇ ᶜ ᵈ ᵉ ᶠ ᵍ ʰ ⁱ ʲ ᵏ ˡ ᵐ ⁿ ᵒ ᵖ ʳ ˢ ᵗ ᵘ ᵛ ʷ ˣ ʸ ᶻ<br/> « » “ ” ‘ ’ ¿ ¡ ‽ ⸘ …<br/>‰ × ÷ € ¢ © ® ™ ← ↓ ↑ →<br/>á Á à À â  ä Ä ã à å Å ā Ā æ Æ<br/>ć Ć ç Ç ĉ Ĉ č Ž<br/>é É è È ê Ê ě Ě ë Ë ē Ē ẽ Ẽ<br/>î Î ï Ï ī Ī<br/>ñ Ñ ň Ň ř Ř<br/>ô Ô ö Ö ó Ó ò Ò ō Ō õ Õ œ Œ<br/>ú Ú ù Ù û Û ü Ü ů Ů ū Ū<br/>ý Ý ÿ Ÿ ȳ Ȳ ž Ž<br/>Espaces fine (&thinsp;) et normale (&#32;) demi‑cadratin (&ensp;) <a href="https://fr.wikipedia.org/wiki/Cadratin">cadratin</a> (&emsp;)<br/>Insécables fine (&#8239;) et normale (&nbsp;)
1313
%tr
14-
%td Raccourcis clavier
14+
%td Raccourcis clavier (AZERTY, QWERTY, QWERTZ)
1515
%td
1616
%tr
1717
%td Alt Gr + Maj + B et Alt Gr + B
1818
%td apostrophe / guillemet fermant ’ et “
1919
%tr
20-
%td Alt Gr + W et Alt Gr + X
20+
%td Alt Gr + W (ou Z ou Y) et Alt Gr + X
2121
%td guillemets français « et »
2222
%tr
2323
%td Alt Gr + .

0 commit comments

Comments
 (0)