2016-02-25 22:10:52 +09:00
|
|
|
using Textamina.Markdig.Parsers;
|
|
|
|
|
using Textamina.Markdig.Parsers.Inlines;
|
2016-02-21 21:38:57 +09:00
|
|
|
|
2016-02-25 22:10:52 +09:00
|
|
|
namespace Textamina.Markdig.Syntax.Inlines
|
2016-02-17 20:34:26 +09:00
|
|
|
{
|
2016-02-21 21:38:57 +09:00
|
|
|
public class AutolinkInline : LeafInline
|
2016-02-17 20:34:26 +09:00
|
|
|
{
|
2016-02-25 22:10:52 +09:00
|
|
|
public static readonly InlineParser Parser = new AutolineInlineParser();
|
2016-02-21 21:38:57 +09:00
|
|
|
|
|
|
|
|
public bool IsEmail { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Url { get; set; }
|
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return Url;
|
|
|
|
|
}
|
2016-02-17 20:34:26 +09:00
|
|
|
}
|
|
|
|
|
}
|