示例#1
0
        private HtmlHeader CreateHeader(string props)
        {
            var propList   = props.Split(';');
            var properties = new HeaderProperties
            {
                HeaderLevel = Convert.ToInt32(propList[0]),
                Text        = propList[1]
            };

            return(new HtmlHeader(properties));
        }
示例#2
0
 public MarkdownHeader(HeaderProperties props)
 {
     _props = props;
 }
示例#3
0
 public HtmlHeader(HeaderProperties props)
 {
     _props = props;
 }