X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/cfd0b634e21851a0d9e8b4c8c258307baefcd931..62043b2bafbcb57beae7559235bd6984b6275b55:/spec.py?ds=sidebyside diff --git a/spec.py b/spec.py index 2b80f16..2eccbb5 100644 --- a/spec.py +++ b/spec.py @@ -12,7 +12,7 @@ from typing import Callable, IO from bs4.element import Tag from fetch import Fetcher -from texify import Texifier +from glowfic import Layout from images import ImageStore @@ -24,6 +24,8 @@ class Spec: images: ImageStore htmlfilter: Callable[[bytes], bytes] domfilter: Callable[[Tag], None] - texifier: Texifier + texfilter: Callable[[bytes], bytes] + layout: Layout geometry: str | None texout: IO[bytes] + log: Callable[[str], None]