Skip to content

Commit bca7afa

Browse files
authored
Merge pull request #400 from linuxfrorg/md_help
add help for Wikipedia links with lang and Wiktionary links
2 parents 471768f + a57de1f commit bca7afa

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

app/views/shared/_wiki_help.html.haml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
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">documentation</a> sur le wiki.
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 :
5+
6+
%hr
57

68
%table#wiki_help
79
%tbody
@@ -22,7 +24,7 @@
2224
%td multiplication ×
2325
%tr
2426
%td Alt Gr + :
25-
%td ·
27+
%td point médian ·
2628
%tr
2729
%td Alt Gr + Maj + :
2830
%td division ÷
@@ -63,11 +65,17 @@
6365
%td ![LinuxFr.org](https://linuxfr.org/images/sections/27.png)
6466
%td <img src="https://linuxfr.org/images/sections/27.png" alt="LinuxFr.org"/>
6567
%tr
66-
%td [Kernel](https://www.kernel.org/)
67-
%td <a href="https://www.kernel.org/">Kernel</a>
68+
%td [Kernel.org](https://www.kernel.org/)
69+
%td <a href="https://www.kernel.org/">Kernel.org</a>
6870
%tr
6971
%td [[Wikipédia]]
7072
%td <a href="https://fr.wikipedia.org/wiki/Wikipédia">Wikipédia</a>
73+
%tr
74+
%td [[de:Wikipedia]]
75+
%td <a href="https://fr.wikipedia.org/wiki/de:Wikipedia">Wikipedia</a> (redirige vers Wikipédia germanophone)
76+
%tr
77+
%td [[wikt:brocoli]]
78+
%td <a href="https://fr.wikipedia.org/wiki/wikt:brocoli">Wikipedia</a> (redirige vers Wiktionary francophone)
7179
%tr
7280
%td [[[Wiki]]] interne
7381
%td <a href="/wiki/Wiki">Wiki</a> interne

0 commit comments

Comments
 (0)