X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/935dcf2282ee3c08f776e221bc71f9a0744cb85e..e4ffa9f5172b88a5a49ed832634105dd65b9727f:/librarian/parser.py?ds=inline diff --git a/librarian/parser.py b/librarian/parser.py index 12fffb3..d515954 100644 --- a/librarian/parser.py +++ b/librarian/parser.py @@ -171,6 +171,10 @@ class WLDocument(object): from librarian import pyhtml as html return html.transform(self, *args, **kwargs) + def as_weasy(self, *args, **kwargs): + from librarian import weasy + return weasy.transform(self, *args, **kwargs) + def as_text(self, *args, **kwargs): from librarian import text return text.transform(self, *args, **kwargs)