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 methodgetVersionprovides means to retrieve the version number of the API.- Returns:
- a Map with a single attribute
versioncontaining the version number as String.
-
render
The methodrenderprovides means to translate a markdown text to HTML.- Parameters:
text- the text to expand- Returns:
- the generated HTML
-