using TightWiki.Engine.Library; using TightWiki.Engine.Library.Interfaces; using static TightWiki.Engine.Library.Constants; namespace TightWiki.Engine.Implementation { /// /// Handles wiki comments. These are generally removed from the result. /// public class CommentHandler : ICommentHandler { /// /// Handles a wiki comment. /// /// Reference to the wiki state object /// The comment text public HandlerResult Handle(ITightEngineState state, string text) { return new HandlerResult() { Instructions = [HandlerResultInstruction.TruncateTrailingLine] }; } } }