Fixes before testing & deploying

This commit is contained in:
Gabriel Brown 2025-05-09 10:01:56 -05:00
parent 3f3c0d72f8
commit eec2d36526

View File

@ -79,15 +79,8 @@ def main():
except Exception as e:
print(f"Error reading file {selected_file}: {e}")
markdown_text = '\n'.join(markdown_lines)
# Write markdown to file
output_file = 'output.md'
with open(output_file, 'w', encoding='utf-8') as f:
f.write(markdown_text)
print(f"\nMarkdown file '{output_file}' has been generated.")
# Copy markdown content to clipboard
markdown_text = '\n'.join(markdown_lines)
pyperclip.copy(markdown_text)
print("Markdown content has been copied to the clipboard.")