Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support output to markdown #86

Closed
gengjiawen opened this issue Sep 25, 2024 · 4 comments
Closed

add support output to markdown #86

gengjiawen opened this issue Sep 25, 2024 · 4 comments

Comments

@gengjiawen
Copy link

No description provided.

@yamadashy
Copy link
Owner

Thank you for your suggestion!
I had actually considered this before but it slipped my mind.

For code blocks, we're planning to use triple backticks. There's a question of whether to escape backticks within the code itself, but I'll examine different patterns to determine the best approach.

I appreciate you bringing this up!

@yamadashy
Copy link
Owner

Hi, @gengjiawen

I'm pleased to inform you that we've implemented the Markdown output support you suggested. This feature is now available in version 0.1.38 of Repopack, which has just been released!
https://github.com/yamadashy/repopack/releases/tag/v0.1.38

Thank you again for your valuable input. If you have a chance to try out the new Markdown output, we'd love to hear your thoughts!

@gengjiawen
Copy link
Author

thx for the feature . But I notice two bugs.

  • output file extension still is txt
  • no source type around ```

@yamadashy
Copy link
Owner

yamadashy commented Sep 30, 2024

Thank you for your feedback and for pointing out these issues!
I'm pleased to inform you that both of these bugs have been addressed in my latest release, version 0.1.40:

https://github.com/yamadashy/repopack/releases/tag/v0.1.40

  1. The output file extension now changes based on the selected style (e.g., .md for Markdown, .xml for XML).
    • This behavior only applies when no specific output file path is provided by the user
  2. I've added language identifiers to code blocks in Markdown output for better syntax highlighting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants