You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by sh...@apache.org on 2019/08/18 07:03:54 UTC

[allura] branch ss/8324 created (now 80ebb0b)

This is an automated email from the ASF dual-hosted git repository.

shalithasuranga pushed a change to branch ss/8324
in repository https://gitbox.apache.org/repos/asf/allura.git.


      at 80ebb0b  [#8324] Add new user mentions feature to the formatting guide

This branch includes the following new commits:

     new 80ebb0b  [#8324] Add new user mentions feature to the formatting guide

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[allura] 01/01: [#8324] Add new user mentions feature to the formatting guide

Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

shalithasuranga pushed a commit to branch ss/8324
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 80ebb0bef8e052d633fa34e36d9ea869c5098ad9
Author: Shalitha Suranga <sh...@gmail.com>
AuthorDate: Sun Aug 18 12:33:34 2019 +0530

    [#8324] Add new user mentions feature to the formatting guide
---
 Allura/allura/templates/jinja_master/lib.html | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Allura/allura/templates/jinja_master/lib.html b/Allura/allura/templates/jinja_master/lib.html
index 27a7288..0a85183 100644
--- a/Allura/allura/templates/jinja_master/lib.html
+++ b/Allura/allura/templates/jinja_master/lib.html
@@ -239,6 +239,7 @@
     <li><a href="#md_ex_links{{id}}">Links</a></li>
     <li><a href="#md_ex_reflinks{{id}}">Reference Links</a></li>
     <li><a href="#md_ex_artlinks{{id}}">Artifact Links</a></li>
+    <li><a href="#md_ex_usermentions{{id}}">User Mentions</a></li>
     <li><a href="#md_ex_text{{id}}">Basic Text Formatting</a></li>
     <li><a href="#md_ex_bq{{id}}">Blockquotes</a></li>
     <li><a href="#md_ex_pre{{id}}">Preformatted Text</a></li>
@@ -364,6 +365,15 @@ as it appears in the URL. For example:</p>
 </pre></div><br>
 </div>
 
+
+<div class="markdown_syntax_section hidden_in_modal md_ex_usermentions{{id}}">
+  <h2 id="md_ex_usermentions{{id}}">User Mentions</h2>
+  <p>An user can be mentioned using @ sign and the username. A rendered user mention has a link to the particular user and also an info tip on mouse hover.</p>
+  <div class="codehilite"><pre>
+  @test-user-1       # Mention test-user-1
+  </pre></div><br>
+  </div>
+
 <div class="markdown_syntax_section hidden_in_modal md_ex_text{{id}}">
 <h2 id="md_ex_text{{id}}">Basic Text Formatting</h2>
 <p>Use * or _ to emphasize things:</p>