Compare commits
No commits in common. "26b022f7ba3190fa3bdc38a3b5604581b5452b4c" and "8a1cd689eafef0b0848ef23c3448778b28b5bc8e" have entirely different histories.
26b022f7ba
...
8a1cd689ea
@ -1,4 +1,7 @@
|
|||||||
namespace OliverBooth.Data.Web;
|
using SmartFormat;
|
||||||
|
using SmartFormat.Core.Extensions;
|
||||||
|
|
||||||
|
namespace OliverBooth.Data.Web;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a MediaWiki-style template.
|
/// Represents a MediaWiki-style template.
|
||||||
|
@ -11,10 +11,6 @@ internal sealed class TemplateExtension : IMarkdownExtension
|
|||||||
{
|
{
|
||||||
private readonly TemplateService _templateService;
|
private readonly TemplateService _templateService;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Initializes a new instance of the <see cref="TemplateExtension" /> class.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="templateService">The template service.</param>
|
|
||||||
public TemplateExtension(TemplateService templateService)
|
public TemplateExtension(TemplateService templateService)
|
||||||
{
|
{
|
||||||
_templateService = templateService;
|
_templateService = templateService;
|
||||||
|
@ -12,14 +12,6 @@ public sealed class TemplateInlineParser : InlineParser
|
|||||||
private static readonly IReadOnlyDictionary<string, string> EmptyParams =
|
private static readonly IReadOnlyDictionary<string, string> EmptyParams =
|
||||||
new Dictionary<string, string>().AsReadOnly();
|
new Dictionary<string, string>().AsReadOnly();
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Initializes a new instance of the <see cref="TemplateInlineParser" /> class.
|
|
||||||
/// </summary>
|
|
||||||
public TemplateInlineParser()
|
|
||||||
{
|
|
||||||
OpeningCharacters = new[] { '{' };
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public override bool Match(InlineProcessor processor, ref StringSlice slice)
|
public override bool Match(InlineProcessor processor, ref StringSlice slice)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user