module:parse
Parse wikitext (or html) to html (or wikitext).
Parse wikitext (or html) to html (or wikitext).
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
obj |
Object |
Properties
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
cb |
function |
<optional> |
Optional node-style callback |
Returns:
- Type
- Promise
Members
(inner) _fromHTML
Transform html to requested content-model
.(inner) _toHTML
Transform content-model to html (common-case will be wikitext -> html)
.