Files
edx-platform/lms/templates/wiki/includes/cheatsheet.html
Adam Palay 69ffb6a87b replace edx with variable substitution
fixes template errors

keep tos untranslated

formatting fixes
2013-07-31 19:39:15 -04:00

58 lines
1.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<%! from django.utils.translation import ugettext as _ %>
<div class="modal hide fade" id="cheatsheetModal">
<a href="#" class="close-btn">×</a>
<div id="cheatsheet-body" class="modal-body">
<div class="left-column">
<section>
<h2>${_("Wiki Syntax Help")}</h2>
<p>${_("This wiki uses <strong>Markdown</strong> for styling. There are several useful guides online. See any of the links below for in-depth details:")}</p>
<ul>
<li>${_('<a href="http://daringfireball.net/projects/markdown/basics" target="_blank">Markdown: Basics</a>')}</li>
<li>${_('<a href="http://greg.vario.us/doc/markdown.txt" target="_blank">Quick Markdown Syntax Guide</a>')}</li>
<li>${_('<a href="http://www.lowendtalk.com/discussion/6/miniature-markdown-guide" target="_blank">Miniature Markdown Guide</a>')}</li>
</ul>
<p>${_("To create a new wiki article, create a link to it. Clicking the link gives you the creation page.")}</p>
<pre>${_("[Article Name](wiki:ArticleName)")}</pre>
</section>
<section>
<h3>${_("{edX} Additions:").format(edX="edX")}</h3>
<pre>
circuit-schematic:</pre>
<pre>
$LaTeX Math Expression$</pre>
</section>
</div>
<div class="right-column">
<section>
<h3>${_("Useful examples:")}</h3>
<pre>
${_("http://wikipedia.org\
[{Wikipedia}](http://wikipedia.org)\
[{edX} Wiki](wiki:/edx/)").format(edX="edX", Wikipedia="Wikipedia")}</pre>
<pre>
${_("Huge Header")}
===========</pre>
<pre>
${_("Smaller Header")}
--------------</pre>
<pre>
${_("*emphasis* or _emphasis_")}</pre>
<pre>
${_("**strong** or __strong__")}</pre>
<pre>
${_("- Unordered List\
- Sub Item 1\
- Sub Item 2")}</pre>
<pre>
${_("1. Ordered\
2. List")}</pre>
<pre>
${_("> Quotes")}</pre>
</section>
</div>
</div>
</div>
</div>