Compare commits
2 Commits
3f3c0d72f8
...
5032672341
Author | SHA1 | Date | |
---|---|---|---|
5032672341 | |||
eec2d36526 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,6 +6,7 @@ yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
lerna-debug.log*
|
||||
public/opensearch.xml
|
||||
|
||||
node_modules
|
||||
dist
|
||||
|
@ -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.")
|
||||
|
||||
|
Reference in New Issue
Block a user