is mod interested in topic - you could look at tags, props or content
is mod interested in topic - you could look at tags, props or content
note that for modProp you don't need to be interested
the name of the mod
the wiki properties recognied by the mod - this is used by the parser and filtered through here.
the wiki properties recognied by the mod - this is used by the parser and filtered through here.
The idea is to allow you to define your own properties that you handle
Note that for modProp you don't need to be interested
special actions available for this wiki?
special actions available for this wiki?
main actions are "edit", "view" - which you could overwrite
more special actions, map(name,lavel,URL)
modify the resulting html of formatting the page
modify the resulting html of formatting the page
the new html
modify the content of the page before MARKDOWN formatting for rendering (but after internal formatting and parsing)
modify the content of the page before MARKDOWN formatting for rendering (but after internal formatting and parsing)
the page in the context of which the transformation is required
an optional different content. Implementations are supposed to start with content.orElse(Some(we.content)).map{c=>
None if no changed are desired
modify the content of the page before parsing - you shouldn't really use this !
modify the content of the page before parsing - you shouldn't really use this !
the page in the context of which the transformation is required
an optional different content. Implementations are supposed to start with content.orElse(Some(we.content)).map{c=>
None if no changed are desired
modify a prop - during parsing, if you recognize this property, you can transform its value
modify a prop - during parsing, if you recognize this property, you can transform its value
The idea is to allow you to define your own properties that you handle - i.e. a JSON formatter or the on.snow modules for mod.book
extensibility - mods can mess with wikis. can add/interpret properties, filter html etc
There is a mod wiki and a mod prop. The modProp can tranform sections/tags while the modWiki transforms all wiki