Exemplo n.º 1
0
 public static SpanConstructor MetaMarkup(this SpanFactory self, string content)
 {
     return(self.Span(SpanKind.MetaCode, content, markup: true));
 }
Exemplo n.º 2
0
 public static SpanConstructor MarkupTransition(this SpanFactory self, string content, HtmlSymbolType type)
 {
     return(self.Span(SpanKind.Transition, content, type).Accepts(AcceptedCharacters.None));
 }
Exemplo n.º 3
0
 public static SpanConstructor MetaCode(this SpanFactory self, string content, CSharpSymbolType type)
 {
     return(self.Span(SpanKind.MetaCode, content, type));
 }
Exemplo n.º 4
0
 public static SpanConstructor CodeTransition(this SpanFactory self, CSharpSymbolType type)
 {
     return(self
            .Span(SpanKind.Transition, SyntaxConstants.TransitionString, type)
            .Accepts(AcceptedCharacters.None));
 }
Exemplo n.º 5
0
 public static SpanConstructor MarkupTransition(this SpanFactory self)
 {
     return(self
            .Span(SpanKind.Transition, SyntaxConstants.TransitionString, markup: true)
            .Accepts(AcceptedCharacters.None));
 }
Exemplo n.º 6
0
 public static SpanConstructor CodeTransition(this SpanFactory self, string content)
 {
     return(self.Span(SpanKind.Transition, content, markup: false).Accepts(AcceptedCharacters.None));
 }
Exemplo n.º 7
0
 public static UnclassifiedCodeSpanConstructor Code(this SpanFactory self, string content)
 {
     return(new UnclassifiedCodeSpanConstructor(
                self.Span(SpanKind.Code, content, markup: false)));
 }
Exemplo n.º 8
0
 public static SpanConstructor CodeMarkup(this SpanFactory self, params string[] content)
 {
     return(self.Span(SpanKind.Code, content, markup: true).With(new MarkupChunkGenerator()));
 }
Exemplo n.º 9
0
 public static SpanConstructor Markup(this SpanFactory self, string content)
 {
     return(self.Span(SpanKind.Markup, content, markup: true).With(new MarkupChunkGenerator()));
 }
Exemplo n.º 10
0
 public static SpanConstructor Comment(this SpanFactory self, string content, HtmlSymbolType type)
 {
     return(self.Span(SpanKind.Comment, content, type));
 }