forked from sophsec/namaste
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a Textile Syntax example chart.
- Loading branch information
1 parent
4aea73b
commit ab6785e
Showing
3 changed files
with
56 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,6 @@ | |
|
||
<p>Summary:</p> | ||
<textarea name="note[summary]"></textarea> | ||
|
||
<%= erb :syntax, :layout => false %> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<p>Textile Syntax:</p> | ||
<table id="textile_syntax"> | ||
<th> | ||
<td>Textile</td> | ||
<td>HTML</td> | ||
</th> | ||
|
||
<tr> | ||
<td>_italic_</td> | ||
<td><i>italic</i></td> | ||
</tr> | ||
|
||
<tr> | ||
<td>*strong*</td> | ||
<td><b>strong</b></td> | ||
</tr> | ||
|
||
<tr> | ||
<td>"Link Text":http://example.com/</td> | ||
<td><a href="http://example.com/">Link Text</a></td> | ||
</tr> | ||
|
||
<tr> | ||
<td> | ||
* item one<br /> | ||
* item two | ||
</td> | ||
|
||
<td> | ||
<ul> | ||
<li>item one</li> | ||
<li>item two</li> | ||
</ul> | ||
</td> | ||
</tr> | ||
|
||
<tr> | ||
<td> | ||
# item one<br /> | ||
# item two | ||
</td> | ||
|
||
<td> | ||
<ol> | ||
<li>item one</li> | ||
<li>item two</li> | ||
</ol> | ||
</td> | ||
</tr> | ||
</table> |