Files
ZelWiki/ZelWiki.Engine.Library/Interfaces/IMarkupHandler.cs
2025-02-20 15:20:28 +08:00

17 lines
717 B
C#

namespace ZelWiki.Engine.Library.Interfaces
{
/// <summary>
/// Handles basic markup/style instructions like bole, italic, underline, etc.
/// </summary>
public interface IMarkupHandler
{
/// <summary>
/// Handles basic markup instructions like bole, italic, underline, etc.
/// </summary>
/// <param name="state">Reference to the wiki state object</param>
/// <param name="sequence">The sequence of symbols that were found to denotate this markup instruction,</param>
/// <param name="scopeBody">The body of text to apply the style to.</param>
public HandlerResult Handle(IZelEngineState state, char sequence, string scopeBody);
}
}