@Role
public interface HighlightParser
extends org.xwiki.rendering.parser.Parser
Modifier and Type | Method and Description |
---|---|
List<org.xwiki.rendering.block.Block> |
highlight(String syntaxId,
Reader source)
Return a highlighted version of the provided content.
|
List<org.xwiki.rendering.block.Block> highlight(String syntaxId, Reader source) throws org.xwiki.rendering.parser.ParseException
syntaxId
- the identifier of the source syntax.source
- the content to highlight.ParseException
- the highlighting failed.Copyright © 2004–2021 XWiki. All rights reserved.