aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--README.md6
2 files changed, 10 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index be3d7e5..7cef3b0 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+# 1.3.4
+
+* Add transforms.run.
+
# 1.3.3
* Read children of w:object elements.
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.