refactor: rename DTree to DValue
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
:sig
|
||||
String markdown_to_html(String src)
|
||||
String markdown_to_html(String src, DTree options)
|
||||
String markdown_to_html(String src, DValue options)
|
||||
|
||||
:params
|
||||
src : markdown source text
|
||||
@@ -26,7 +26,7 @@ By default the function aims at a practical GitHub-flavored Markdown target, inc
|
||||
Example:
|
||||
|
||||
```uce
|
||||
DTree options;
|
||||
DValue options;
|
||||
options["components"][":::warning"] = "components/markdown/warning";
|
||||
options["components"]["node.code_block"] = "components/markdown/code_block";
|
||||
String html = markdown_to_html(file_get_contents("guide.md"), options);
|
||||
|
||||
Reference in New Issue
Block a user