aboutsummaryrefslogtreecommitdiff
path: root/mammoth/styles.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-12-13 18:02:12 +0000
committerMichael Williamson <mike@zwobble.org>2013-12-13 18:02:12 +0000
commit4d09c8116dbf01487368c16a66ea13f07b3349a3 (patch)
tree5d842b3aec7ca18a7a7903a82bd0abafc31ab302 /mammoth/styles.py
parent49d046acf05be128d404a419ecde05091efa30c1 (diff)
Parse styles
Diffstat (limited to 'mammoth/styles.py')
-rw-r--r--mammoth/styles.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/mammoth/styles.py b/mammoth/styles.py
new file mode 100644
index 0000000..a90012b
--- /dev/null
+++ b/mammoth/styles.py
@@ -0,0 +1,8 @@
+import collections
+
+
+def style(document_matcher, html_path):
+ return Style(document_matcher, html_path)
+
+
+Style = collections.namedtuple("Style", ["document_matcher", "html_path"])