0.0.56 • Published 6 years ago
glipdown v0.0.56
glipdown
Glip-flavored markdown with URI auto-linking
Install
npm install glipdown
Usage
var Markdown = require('../markdown').Markdown
Markdown(string[, param]);
Syntax
Original Text:
https://jira.ringcentral.com
Marked Text:
<a href='https://jira.ringcentral.com' target='_blank' rel='noreferrer'>https://jira.ringcentral.com</a>
Original Text:
| **When** | 11:30am on Monday |
| **Account** | dan@close.com |
| **From** | Dave Varenos |
| **To** | Dan Foody |
Marked Text:
<table>
<tr valign='top'>
<td width='50%'> <b>When</b> </td>
<td width='50%'> 11:30am on Monday
</tr>
<tr valign='top'>
<td width='50%'> <b>Account</b> </td>
<td width='50%'> <a href='mailto:dan@close.com' target='_blank' rel='noreferrer'>dan@close.com</a>
</tr>
<tr valign='top'>
<td width='50%'> <b>From</b> </td>
<td width='50%'> Dave Varenos
</tr>
<tr valign='top'>
<td width='50%'> <b>To</b> </td>
<td width='50%'> Dan Foody
</tr>
</table>
Original Text:
email me at mailto:foo@bar.com or [mail my friend](mailto:myfriend@bar.com)
Marked Text:
email me at <a href='mailto:foo@bar.com' target='_blank' rel='noreferrer'>foo@bar.com</a> or <a href='mailto:myfriend@bar.com' target='_blank' rel='noreferrer'>mail my friend</a>
Original Text:
[code]
|test|test|
[/code]
|test|test|
Marked Text:
<pre class=codesnippet>
|test|test|
</pre>
<table>
<tr valign='top'>
<td width='50%'>test</td>
<td width='50%'>test
</tr>
</table>
Original Text:
* awesome
Marked Text:
<ul><li>awesome</li></ul>
Original Text:
**awesome**
Marked Text:
<b>awesome</b>
Original Text:
*awesome*
Marked Text:
<i>awesome</i>
Original Text:
__awesome__ google.com
Marked Text:
<u>awesome</u> <a href='http://google.com' target='_blank' rel='noreferrer'>google.com</a>
Original Text:
~~awesome google.com~~
Marked Text:
<strike>awesome <a href='http://google.com' target='_blank' rel='noreferrer'>google.com</a></strike>
Original Text:
[code][some link](http://heynow.com)[/code][legit](http://legit.com)
Marked Text:
<pre class=codesnippet><a href='http://heynow.com' target='_blank' rel='noreferrer'>some link</a></pre><a href='http://legit.com' target='_blank' rel='noreferrer'>legit</a>
Original Text:
[oiasjdf@Ooijasdf.com](mailto:oiasjdf@Ooijasdf.com)
Marked Text:
<a href='mailto:oiasjdf@Ooijasdf.com' target='_blank' rel='noreferrer'>oiasjdf@Ooijasdf.com</a>
Original Text:
[Ooijasdf.com](Ooijasdf.com)
Marked Text:
<a href='Ooijasdf.com' target='_blank' rel='noreferrer'>Ooijasdf.com</a>
Original Text:
this is a full.email@address.com for you
Marked Text:
this is a <a href='mailto:full.email@address.com' target='_blank' rel='noreferrer'>full.email@address.com</a> for you
Original Text:
**File**
[calendar-jeff.ics](https://trello-attachments.s3.amazonaws.com/5463e14ac46008b0ec6feccf/553e4f4aa147ee4561e8c580/b66fa91c8224cfb458831a9618118c2f/calendar-jeff.ics)
Marked Text:
<b>File</b>
<a href='https://trello-attachments.s3.amazonaws.com/5463e14ac46008b0ec6feccf/553e4f4aa147ee4561e8c580/b66fa91c8224cfb458831a9618118c2f/calendar-jeff.ics' target='_blank' rel='noreferrer'>calendar-jeff.ics</a>
Original Text:
<a href="http://google.com" class="heynow"><img src="http://heynow.com">Words</a> https://google.com
Marked Text:
<a href="<a href='http://google.com' target='_blank' rel='noreferrer'>http://google.com</a>" class="heynow"><img src="<a href='http://heynow.com' target='_blank' rel='noreferrer'>http://heynow.com</a>">Words</a> <a href='https://google.com' target='_blank' rel='noreferrer'>https://google.com</a>
Original Text:
{{-{{a href="http://google.com" class="heynow"}}-}}{{-{{img src="http://heynow.com"}}-}} http://legit.com
Marked Text:
{{-{{a href="http://google.com" class="heynow"}}-}}{{-{{img src="http://heynow.com"}}-}} http://legit.com
0.0.56
6 years ago
0.0.55
6 years ago
0.0.54
7 years ago
0.0.53
7 years ago
0.0.52
7 years ago
0.0.51
7 years ago
0.0.50
7 years ago
0.0.49
7 years ago
0.0.48
7 years ago
0.0.47
7 years ago
0.0.46
7 years ago
0.0.45
7 years ago
0.0.44
7 years ago
0.0.43
7 years ago
0.0.42
7 years ago
0.0.41
7 years ago
0.0.40
7 years ago
0.0.39
7 years ago
0.0.38
7 years ago
0.0.37
7 years ago
0.0.36
7 years ago
0.0.35
7 years ago
0.0.34
8 years ago
0.0.33
8 years ago
0.0.32
8 years ago
0.0.31
8 years ago
0.0.30
8 years ago
0.0.29
8 years ago
0.0.28
8 years ago
0.0.27
8 years ago
0.0.26
8 years ago
0.0.25
9 years ago
0.0.23
9 years ago
0.0.22
9 years ago
0.0.21
9 years ago
0.0.20
9 years ago
0.0.19
10 years ago
0.0.18
10 years ago
0.0.17
10 years ago
0.0.16
10 years ago
0.0.15
10 years ago
0.0.14
10 years ago
0.0.13
10 years ago
0.0.12
10 years ago
0.0.11
10 years ago
0.0.10
10 years ago
0.0.9
10 years ago
0.0.8
10 years ago
0.0.7
10 years ago
0.0.6
10 years ago
0.0.5
10 years ago
0.0.4
10 years ago
0.0.3
10 years ago
0.0.1
10 years ago