witten
/
luminotes
Archived
1
0
Fork 0
This repository has been archived on 2023-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
luminotes/plugins/export_html/__init__.py

16 lines
374 B
Python

from Html_file import Html_file
def export( database, notebook, notes, response_headers ):
"""
Format the given notes as an HTML file by relying on controller.Expose.expose() to use Html_file
as the view.
"""
return dict(
notebook = notebook,
notes = notes,
response_headers = response_headers,
view = Html_file,
manual_encode = u"utf8",
)