Add Markdown-to-PDF converter with RTL support
This commit is contained in:
7 files changed
+1139
-4
No files matched your search
@@ -323,6 +323,12 @@ def format_timestamp(value: Any, tz) -> str:
|
||||
|
||||
|
||||
def main(argv: Optional[Sequence[str]] = None) -> int:
|
||||
argv = list(argv) if argv is not None else sys.argv[1:]
|
||||
if argv and argv[0] == "pdf":
|
||||
from chatgpt_pdf_converter import main as pdf_main
|
||||
|
||||
return pdf_main(argv[1:])
|
||||
|
||||
parser = argparse.ArgumentParser(
|
||||
description="Export a public ChatGPT shared conversation to Markdown."
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user