X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/414490259481cfdb1adc636ba74800f8e12d51a1..1cff92e76d1e90245594af7353c7f322bea17db1:/forum/skins/default/templates/markdown_help.html diff --git a/forum/skins/default/templates/markdown_help.html b/forum/skins/default/templates/markdown_help.html index a54334b..78e11ce 100644 --- a/forum/skins/default/templates/markdown_help.html +++ b/forum/skins/default/templates/markdown_help.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "base_content.html" %} {% load extra_tags %} {% load humanize %} {% load i18n %} @@ -12,237 +12,239 @@ {% block content %}


-

Markdown Syntax

-

This document describes some of the more important parts of Markdown (for writers, that is). There's a lot more to the syntax than is mentioned here, though. To get the full syntax documentation, go to John Gruber's Markdown Syntax page

+

{% trans "Markdown Syntax" %}

+

{% blocktrans %}This document describes some of the more important parts of Markdown (for writers, that is). There's a lot more to the syntax than is mentioned here, though. To get the full syntax documentation, go to John Gruber's Markdown Syntax page{% endblocktrans %}

-

Headers

+

{% trans "Headers" %}

- For top-level headers underline the text with equal signs. For second-level headers use dashes to underline. + {% trans "For top-level headers underline the text with equal signs. For second-level headers use dashes to underline." %}
- This is an H1
+ {% trans "This is an H1" %}
=============
-

This is an H1

+

{% trans "This is an H1" %}

- This is an H2
+ {% trans "This is an H2" %}
-------------
-

This is an H2

+

{% trans "This is an H2" %}

- If you would rather, you can prefix headers with a hash (#) symbol instead. The number of hash symbols indicates the header level. For example, a single hash indicates a header level of one while two indicates the second header level: + {% blocktrans %}If you would rather, you can prefix headers with a hash (#) symbol instead. The number of hash symbols indicates the header level. For example, a single hash indicates a header level of one while two indicates the second header level:{% endblocktrans %}
- # This is H1 + # {% trans "This is an H1" %} -

This is an H1

+

{% trans "This is an H1" %}

- ## This is H2 + ## {% trans "This is an H2" %} -

This is an H2

+

{% trans "This is an H2" %}

- ### This is H3 + ### {% trans "This is an H3" %} -

This is an H3

+

{% trans "This is an H3" %}

- Which you choose is a matter of style. Whichever you thinks looks better in the text document. In both cases, the final, fully formatted, document looks the same. + {% trans "Which you choose is a matter of style. Whichever you thinks looks better in the text document. In both cases, the final, fully formatted, document looks the same." %}
-

Paragraphs

+

{% trans "Paragraphs" %}

- Paragraphs are surrounded by blank lines. + {% trans "Paragraphs are surrounded by blank lines." %}
- This is paragraph one. + {% trans "This is paragraph one." %}

- This is paragraph two. + {% trans "This is paragraph two." %}
-

Links

+

{% trans "Links" %}

+ {% blocktrans %} There are two parts to every link. The first is the actual text that the user will see and it is surrounded by brackets. The second is address of the page you wish to link to and it is surrounded in parenthesis. + {% endblocktrans %}
- [link text](http://example.com/) + [{% trans "link text" %}]({% trans "http://example.com/" %}) - link text + {% trans "link text" %}
-

Formatting

+

{% trans "Formatting" %}

- To indicate bold text surround the text with two star (*) symbols or two underscore (_) symbols: + {% trans "To indicate bold text surround the text with two star (*) symbols or two underscore (_) symbols:" %}
- **This is bold** + **{% trans "This is bold" %}** - This is bold + {% trans "This is bold" %}
- __This is also bold__ + __{% trans "This is also bold" %}__ - This is also bold + {% trans "This is also bold" %}
- To indicate italicized text surround the text with a single star (*) symbol or underscore (_) symbol: + {% trans "To indicate italicized text surround the text with a single star (*) symbol or underscore (_) symbol:" %}
- *This is italics* + *{% trans "This is italics" %}* - This is italics + {% trans "This is italics" %}
- _This is also italics_ + _{% trans "This is also italics" %}_ - This is also italics + {% trans "This is also italics" %}
- To indicate italicized and bold text surround the text with three star (*) symbol or underscore (_) symbol: + {% trans "To indicate italicized and bold text surround the text with three star (*) symbol or underscore (_) symbol:" %}
- ***This is bold and italics*** + ***{% trans "This is bold and italics" %}*** - This is italics + {% trans "This is bold and italics" %}
- ___This is also bold and italics___ + ___{% trans "This is also bold and italics" %}___ - This is italics + {% trans "This is also bold and italics" %}
-

Blockquotes

+

{% trans "Blockquotes" %}

- To create an indented area use the right angle bracket (>) character before each line to be included in the blockquote. + {% trans "To create an indented area use the right angle bracket (>) character before each line to be included in the blockquote." %}
- > This is part of a blockquote.
- > This is part of the same blockquote. + > {% trans "This is part of a blockquote." %}
+ > {% trans "This is part of the same blockquote." %}
-

This is part of a blockquote.
This is part of the same blockquote.

+

{% trans "This is part of a blockquote." %}
{% trans "This is part of the same blockquote." %}

- Rather than putting it in front of each line to include in the block quote you can put it at the beginning and end the quote with a newline. + {% trans "Rather than putting it in front of each line to include in the block quote you can put it at the beginning and end the quote with a newline." %}
- > This is part of a blockquote.
- This continues the blockquote even though there's no bracket.

- The blank line ends the blockquote. + > {% trans "This is part of a blockquote." %}
+ {% trans "This continues the blockquote even though there's no bracket." %}

+ {% trans "The blank line ends the blockquote." %}
-

This is part of a blockquote.
This continues the blockquote even though there's no bracket.

-

The blank line ends the blockquote.

+

{% trans "This is part of a blockquote." %}
{% trans "This continues the blockquote even though there's no bracket." %}

+

{% trans "The blank line ends the blockquote." %}

-

Lists

+

{% trans "Lists" %}

- To create a numbered list in Markdown, prefix each item in the list with a number followed by a period and space. The number you use actually doesn't matter. + {% trans "To create a numbered list in Markdown, prefix each item in the list with a number followed by a period and space. The number you use actually doesn't matter." %}
- 1. Item 1
- 2. Item 2
- 3. Item 3 + 1. {% trans "Item" %} 1
+ 2. {% trans "Item" %} 2
+ 3. {% trans "Item" %} 3
    -
  1. Item 1
  2. -
  3. Item 2
  4. -
  5. Item 3
  6. +
  7. {% trans "Item" %} 1
  8. +
  9. {% trans "Item" %} 2
  10. +
  11. {% trans "Item" %} 3
- To create a bulleted list, prefix each item in the list with a star (*) character. + {% trans "To create a bulleted list, prefix each item in the list with a star (*) character." %}
- * A list item
- * Another list item
- * A third list item + * {% trans "A list item" %}
+ * {% trans "Another list item" %}
+ * {% trans "A third list item" %}
    -
  • A list item
  • -
  • Another list item
  • -
  • A third list item
  • +
  • {% trans "A list item" %}
  • +
  • {% trans "Another list item" %}
  • +
  • {% trans "A third list item" %}
-

A Lot More

-
There's a lot more to the Markdown syntax than is mentioned here. But for creative writers, this covers a lot of the necessities. To find out more about Markdown than you'd ever want to really know, go to the Markdown page where it all started.
+

{% trans "A Lot More" %}

+
{% blocktrans %}There's a lot more to the Markdown syntax than is mentioned here. But for creative writers, this covers a lot of the necessities. To find out more about Markdown than you'd ever want to really know, go to the Markdown page where it all started.{% endblocktrans %}
-{% endblock %} \ No newline at end of file +{% endblock %}