-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
component:quickstartsIssues/PR referencing quickstarts folderIssues/PR referencing quickstarts foldertype:feature requestNew feature request/enhancementNew feature request/enhancement
Description
Description of the feature request:
This is a proposal to add a new cookbook example: an AI-powered GitHub Action that converts plain text into well-structured Markdown documentation.
What problem are you trying to solve with this feature?
Many developers need to create clear documentation (like README.md
files) but find manual formatting tedious. This tool automates the process by leveraging the Gemini API to intelligently structure the text, saving time and ensuring consistency.
The workflow is triggered by a push to a source text file (e.g., source.txt
). It then:
- Reads the content of the text file.
- Calls the Gemini API to generate a Markdown version of the text.
- Automatically commits the new Markdown content to a destination file (e.g.,
README.md
).
This makes the documentation process a simple "write and push" action.
The complete and working code for this example is available in my public repository:
https://github.com/ROHANDWIVEDI2005/Convert_to_md

Any other information you'd like to share?
Metadata
Metadata
Assignees
Labels
component:quickstartsIssues/PR referencing quickstarts folderIssues/PR referencing quickstarts foldertype:feature requestNew feature request/enhancementNew feature request/enhancement