using ZelWiki.Engine.Library;
using ZelWiki.Engine.Library.Interfaces;

namespace ZelWiki.Engine.Implementation
{
    /// <summary>
    /// 
    /// </summary>
    public class CommentHandler : ICommentHandler
    {
        /// <summary>
        /// 处理评论
        /// </summary>
        /// <param name="state"></param>
        /// <param name="text"></param>
        /// <returns></returns>
        public HandlerResult Handle(IZelEngineState state, string text)
        {
            return new HandlerResult() { Instructions = [Constants.HandlerResultInstruction.TruncateTrailingLine] };
        }
    }
}