- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 35 of file WikiCompiler.java.
◆ constructor()
◆ elWiki()
◆ html()
String org.turro.parser.wiki.WikiCompiler.html |
( |
| ) |
|
Definition at line 37 of file WikiCompiler.java.
40 WikiResult result = WikiParser.instance()
41 .onProcessor(wmacro -> WikiProcessors.instance().constructor(constructor()).resolve(wmacro))
42 .addResolvers(resolvers)
44 html = result.getHtml();
46 Parser parser =
new Parser(
"$wiki\n" + source);
47 parser.setResolver(w -> {
48 for(IWikiResolver
resolver : resolvers) {
53 html = parser.parse(constructor());
55 return (preview ? styleSheets() :
"") +
html;
WikiCompiler resolver(IWikiResolver resolver)
◆ legacy()
◆ preview()
static WikiCompiler org.turro.parser.wiki.WikiCompiler.preview |
( |
String |
source | ) |
|
|
static |
◆ resolver()
WikiCompiler org.turro.parser.wiki.WikiCompiler.resolver |
( |
IWikiResolver |
resolver | ) |
|
◆ source()
static WikiCompiler org.turro.parser.wiki.WikiCompiler.source |
( |
String |
source | ) |
|
|
static |
The documentation for this class was generated from the following file: