public static SpanConstructor Markup(this SpanFactory self, string content) { return(self.Span(SpanKind.Markup, content, markup: true).With(new MarkupChunkGenerator())); }
public static SpanConstructor MetaCode(this SpanFactory self, string content) { return(self.Span(SpanKind.MetaCode, content, markup: false)); }
public static UnclassifiedCodeSpanConstructor Code(this SpanFactory self, string content) { return(new UnclassifiedCodeSpanConstructor( self.Span(SpanKind.Code, content, markup: false))); }
public static SpanConstructor CodeTransition(this SpanFactory self, string content) { return(self.Span(SpanKind.Transition, content, markup: false).Accepts(AcceptedCharacters.None)); }
public static SpanConstructor EmptyHtml(this SpanFactory self) { return(self.Span(SpanKind.Markup, new HtmlSymbol(self.LocationTracker.CurrentLocation, String.Empty, HtmlSymbolType.Unknown)) .With(new MarkupChunkGenerator())); }