-
Notifications
You must be signed in to change notification settings - Fork 50
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
Provide code syntax hints/mappings for file extensions #13
Comments
Added in the roadmap. |
Will be released soon |
I see the readme has this updated usage example but --help for 0.8.1 doesn't show it from pipx install? and
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sort of inline with #9 to add a feature to allow users to pair custom file extensions with specific code syntax highlighting.
Right now for my code base, I see code2prompt has a lot of wrapped code in unknown syntax highlighting
For example, maybe there's a way to tell code2prompt that
*.inc
extension files have bash shell scripting so when it comes across*.inc
extension files code it wraps it inWasn't sure about how that would be done so asked ChatGPT4o 🤓
--syntax-map
, which takes a list of mappings.extension:syntax
.--syntax-map
arguments.The text was updated successfully, but these errors were encountered: