public class SyntaxHighlighterFormatter<D> extends Object implements DocumentFormatter<D>
Constructor and Description |
---|
SyntaxHighlighterFormatter()
Constructor.
|
SyntaxHighlighterFormatter(String baseUrl,
String theme)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
format(DocumentDescriptor<D> documentDescriptor,
String title,
int highlightLineNumber)
Formats the document or its source code.
|
public String format(DocumentDescriptor<D> documentDescriptor, String title, int highlightLineNumber)
DocumentFormatter
format
in interface DocumentFormatter<D>
documentDescriptor
- The document descriptortitle
- The result titlehighlightLineNumber
- The line number to highlightCopyright © 2009-2015 Three Crickets LLC.