aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 7e841a7..1e18119 100644
--- a/README.md
+++ b/README.md
@@ -430,6 +430,12 @@ Returns a function that can be used as the `transform_document` argument.
This will apply the function `transform_paragraph` to each paragraph element.
`transform_paragraph` should return the new paragraph.
+#### `mammoth.transforms.run(transform_run)`
+
+Returns a function that can be used as the `transform_document` argument.
+This will apply the function `transform_run` to each run element.
+`transform_run` should return the new run.
+
#### `mammoth.transforms.get_descendants(element)`
Gets all descendants of an element.