refactor: rename DTree to DValue

This commit is contained in:
udo
2026-06-12 11:05:52 +00:00
parent 941f5aea08
commit 7066da3cde
157 changed files with 1203 additions and 1074 deletions
+2 -2
View File
@@ -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);