incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [2/2] git commit: [#5316] document ~~~~ markdown
Date Thu, 29 Nov 2012 23:17:46 GMT
[#5316] document ~~~~ markdown


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/d460995c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/d460995c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/d460995c

Branch: refs/heads/db/5316
Commit: d460995c2709297a6e6f4ab737d998059d2f208d
Parents: 7bed302
Author: Dave Brondsema <dbrondsema@geek.net>
Authored: Thu Nov 29 23:05:34 2012 +0000
Committer: Dave Brondsema <dbrondsema@geek.net>
Committed: Thu Nov 29 23:05:34 2012 +0000

----------------------------------------------------------------------
 Allura/allura/templates/jinja_master/lib.html |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/d460995c/Allura/allura/templates/jinja_master/lib.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/jinja_master/lib.html b/Allura/allura/templates/jinja_master/lib.html
index 7762bc9..7bfdddc 100644
--- a/Allura/allura/templates/jinja_master/lib.html
+++ b/Allura/allura/templates/jinja_master/lib.html
@@ -293,7 +293,10 @@ paragraph.""")}}
 <h2 id="md_ex_pre{{id}}">Preformatted Text</h2>
 <p>If you want some text to show up exactly as you write it, without
 Markdown doing anything to it, just indent every line by at least 4
-spaces (or 1 tab).</p>
+spaces (or 1 tab).  As an alternative to indenting, you can use 4 or
+more tildes before and after the text.  See examples in the
+<a href="#md_ex_code">Code Highlighting section</a>
+</p>
 <div class="codehilite"><pre>
     This line won't *have any markdown* formatting applied.
     I can even write &lt;b&gt;HTML&lt;/b&gt; and it will show up as text.
@@ -301,9 +304,8 @@ spaces (or 1 tab).</p>
     Markdown. &lt;b&gt;this won't show up as HTML&lt;/b&gt; but
     exactly &lt;i&gt;as you see it in this text file&lt;/i&gt;.
 
-As a shortcut you can use backquotes to do the same thing while
-inside a normal pargraph.  `This won't be *italic* or **bold**
-at all.`
+Within a paragraph, you can use backquotes to do the same thing.
+`This won't be *italic* or **bold** at all.`
 </pre></div>
 
 <p>Output:</p>
@@ -314,9 +316,8 @@ at all.`
     Markdown. <b>this won't show up as HTML</b> but
     exactly <i>as you see it in this text file</i>.
 
-As a shortcut you can use backquotes to do the same thing while
-inside a normal pargraph.  `This won't be *italic* or **bold**
-at all.`""")}}
+Within a paragraph, you can use backquotes to do the same thing.
+`This won't be *italic* or **bold** at all.`""")}}
 </div>
 
 


Mime
View raw message