Java Code Examples for com.vladsch.flexmark.parser.Parser#Builder

The following examples show how to use com.vladsch.flexmark.parser.Parser#Builder . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MarkExtension.java    From OmniList with GNU Affero General Public License v3.0 4 votes vote down vote up
@Override
public void extend(Parser.Builder parserBuilder) {
    parserBuilder.customDelimiterProcessor(new MarkDelimiterProcessor());
}
 
Example 2
Source File: MathJaxExtension.java    From OmniList with GNU Affero General Public License v3.0 4 votes vote down vote up
@Override
public void extend(Parser.Builder parserBuilder) {
    parserBuilder.customDelimiterProcessor(new MathJaxDelimiterProcessor());
}
 
Example 3
Source File: EmojiExtension.java    From onedev with MIT License 4 votes vote down vote up
@Override
public void extend(Parser.Builder parserBuilder) {
    parserBuilder.customDelimiterProcessor(new EmojiDelimiterProcessor());
}
 
Example 4
Source File: TwitterExtension.java    From MarkdownView with Apache License 2.0 4 votes vote down vote up
@Override
public void extend(Parser.Builder parserBuilder) {
    parserBuilder.postProcessorFactory(new TwitterNodePostProcessor.Factory(parserBuilder));
}
 
Example 5
Source File: KeystrokeExtension.java    From MarkdownView with Apache License 2.0 4 votes vote down vote up
@Override
public void extend(Parser.Builder parserBuilder) {
    parserBuilder.customDelimiterProcessor(new KeystrokeDelimiterProcessor());
}
 
Example 6
Source File: MarkExtension.java    From MarkdownView with Apache License 2.0 4 votes vote down vote up
@Override
public void extend(Parser.Builder parserBuilder) {
    parserBuilder.customDelimiterProcessor(new MarkDelimiterProcessor());
}
 
Example 7
Source File: MathJaxExtension.java    From MarkdownView with Apache License 2.0 4 votes vote down vote up
@Override
public void extend(Parser.Builder parserBuilder) {
    parserBuilder.customDelimiterProcessor(new MathJaxDelimiterProcessor());
}
 
Example 8
Source File: LabelExtension.java    From MarkdownView with Apache License 2.0 4 votes vote down vote up
@Override
public void extend(Parser.Builder parserBuilder) {
    parserBuilder.customDelimiterProcessor(new LabelDelimiterProcessor());
}
 
Example 9
Source File: EmojiExtension.java    From MarkdownView with Apache License 2.0 4 votes vote down vote up
@Override
public void extend(Parser.Builder parserBuilder) {
    parserBuilder.customDelimiterProcessor(new EmojiDelimiterProcessor());
}
 
Example 10
Source File: BeanExtension.java    From MarkdownView with Apache License 2.0 4 votes vote down vote up
@Override
public void extend(Parser.Builder parserBuilder) {
    parserBuilder.customDelimiterProcessor(new BeanDelimiterProcessor());
}
 
Example 11
Source File: VideoLinkExtension.java    From MarkdownView with Apache License 2.0 4 votes vote down vote up
@Override
public void extend(Parser.Builder parserBuilder) {
    parserBuilder.postProcessorFactory(new VideoLinkNodePostProcessor.Factory(parserBuilder));
}
 
Example 12
Source File: UMLExtension.java    From zeppelin with Apache License 2.0 4 votes vote down vote up
@Override
public void extend(Parser.Builder parserBuilder) {
  parserBuilder.customBlockParserFactory(new UMLBlockQuoteParser.Factory());
}