예제 #1
0
        public static SlideTemplate CreateFromHtml(string html)
        {
            var template = new SlideTemplate();
            template._templateContent = html;

            return template;
        }
예제 #2
0
 public string ToHtml(SlideTemplate template, SlideTemplateContent templateContent)
 {
     templateContent.Content = Body;
     return template.CreateHtml(templateContent)
         .Replace("<code>", "<code class=\"prettyprint\">");
 }