aboutsummaryrefslogtreecommitdiff
path: root/mammoth/styles/__init__.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-11-16 22:15:05 +0000
committerMichael Williamson <mike@zwobble.org>2016-11-19 21:06:55 +0000
commit310a5e5ceb5169a1c6fd67e0b22a08b6aa6a1328 (patch)
treec229719fac6da9d55e2d1884de632efdbab53620 /mammoth/styles/__init__.py
parent52a5bc753673a9ca70abf76d0f609db0855756b6 (diff)
Add tokeniser
Diffstat (limited to 'mammoth/styles/__init__.py')
-rw-r--r--mammoth/styles/__init__.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/mammoth/styles/__init__.py b/mammoth/styles/__init__.py
new file mode 100644
index 0000000..a90012b
--- /dev/null
+++ b/mammoth/styles/__init__.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"])