markdown
Syntax | markdown(html/xml) | Package | |
Alias | Pkg Usage |
Description
Routine that translate HTML/XML markup from a passed string and returns markdown version.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
html/xml | String | Yes | The text itself, which may contain HTML or XML markup. |
Return Type
String
Example
string html = "<p>Some text</p>";
string markdown = markdown(html);
print(markdown);