5028d38e35
* Added syntax highlighting using SyntaxHighlighter v3.0.83 (see https://github.com/alexgorbatchev/SyntaxHighlighter) * Modified Directive to have a link to the DocBlock that contains it. Modified JLPPegParser to account for this change. * Modified LinkAnchor to include the ASTNode defining it. Also added LinkAnchorType enum to facilitate different types of links. * LiterateMarkdownGenerator is now escaping HTML characters in the code sections and other places it is appropriate. * Refactored the link resolution process. Added a new method `Processor.resolveLink(String, TargetDoc)` that now resolves a URL or URL fragment relative to the current output context. This function also takes over the job of resolving JLP links to link anchors and generating the correct URL. LiterateMarkdownGenerator now calls this instead of doing all the work itself. * To support the syntax highlighter, the JarUtil class from com.jdbernard.util is included and the syntax highlighter resources are extracted into the output directory from a resource jar stored in the JLP main jar. * The CSS and other assets for the output are no longer copied into every output directory, but now stored at the output root and linked correctly into the output files. * Added references to the source file and file type for TargetDocs instead of computing them on the fly during processing. |
||
---|---|---|
.. | ||
asm-all-3.3.1.jar | ||
commons-cli-1.2.jar | ||
commons-lang3-3.1.jar | ||
groovy-all-1.7.10.jar | ||
jdb-util-1.5.2.jar | ||
logback-classic-0.9.26.jar | ||
logback-core-0.9.26.jar | ||
parboiled-core-1.0.1.jar | ||
parboiled-java-1.0.1.jar | ||
pegdown-1.0.2.jar | ||
slf4j-api-1.6.1.jar |