Package org.ctan.site.resources.content
Class Markdown3Resource
java.lang.Object
org.ctan.site.resources.content.Markdown3Resource
The class
Markdown3Resource
contains the controller for the
Markdown renderer resource.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Markdown3Resource
public Markdown3Resource()
-
-
Method Details
-
getVersion
The methodgetVersion
provides means to retrieve the version number of the API.- Returns:
- a Map with a single attribute
version
containing the version number as String.
-
render
The methodrender
provides means to translate a markdown text to HTML.- Parameters:
text
- the text to expand- Returns:
- the generated HTML
-