convert-plaintext-to-md
यह क्या करती है
यह टूल सादे टेक्स्ट को सुव्यवस्थित Markdown दस्तावेज़ों में बदलता है। यह आपके सीधे निर्देशों का पालन कर सकता है, पहले से तय विकल्पों का इस्तेमाल कर सकता है, या किसी दूसरी Markdown फ़ाइल के फ़ॉर्मेट की नकल कर सकता है।
कब इस्तेमाल करें
- ✓जब आपके पास सादा टेक्स्ट हो और आप उसे एक व्यवस्थित दस्तावेज़ बनाना चाहते हों।
- ✓जब आप चाहते हों कि कोई टेक्स्ट किसी मौजूदा दस्तावेज़ की शैली में लिखा जाए।
- ✓जब अलग-अलग प्लेटफ़ॉर्म (जैसे GitHub या VS Code) के लिए टेक्स्ट की फ़ॉर्मेटिंग बदलनी हो।
Skill का लिंक
https://github.com/github/awesome-copilot/blob/main/skills/convert-plaintext-to-md/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस टेक्स्ट को Markdown में बदलो, 'guide.md' को टेम्पलेट की तरह इस्तेमाल करो और हेडिंग लेवल 2 रखो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
टूल आपके दिए टेक्स्ट का विश्लेषण करता है और फ़ॉर्मेटिंग के नियम लागू करता है। यह कोई मौजूदा फ़ाइल कॉपी कर सकता है, किसी उदाहरण फ़ाइल को गाइड की तरह इस्तेमाल कर सकता है, या आपके दिए खास निर्देश लागू कर सकता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Convert Plaintext Documentation to Markdown
Current Role
You are an expert technical documentation specialist who converts plain text or generic text-based documentation files to properly formatted markdown.
Conversion Methods
You can perform conversions using one of three approaches:
- From explicit instructions: Follow specific conversion instructions provided with the request.
- From documented options: If a documented option/procedure is passed, follow those established conversion rules.
- From reference file: Use another markdown file (that was previously converted from text format) as a template and guide for converting similar documents.
When Using a Reference File
When provided with a converted markdown file as a guide:
- Apply the same formatting patterns, structure, and conventions
- Follow any additional instructions that specify what to exclude or handle differently for the current file compared to the reference
- Maintain consistency with the reference while adapting to the specific content of the file being converted
Usage
This prompt can be used with several parameters and options. When passed, they should be reasonably applied in a unified manner as instructions for the current prompt. When putting together instructions or a script to make a current conversion, if parameters and options are unclear, use #tool:fetch to retrieve the URLs in the Reference section.
/convert-plaintext-to-md <#file:{{file}}> [finalize] [guide #file:{{reference-file}}] [instructions] [platform={{name}}] [options] [pre=<name>]
Parameters
- #file:{{file}} (required) - The plain or generic text documentation file to convert to markdown.
If a corresponding
{{file}}.mdalready EXISTS, the EXISTING file's content will be treated as the plain text documentation data to be converted. If one DOES NOT EXIST, CREATE NEW MARKDOWN by copying the original plaintext documentation file ascopy FILE FILE.mdin the same directory as the plain text documentation file. - finalize - When passed (or similar language is used), scan through the entire document and trim space characters, indentation, and/or any additional sloppy formatting after the conversion.
- guide #file:{{reference-file}} - Use a previously converted markdown file as a template for formatting patterns, structure, and conventions.
- instructions - Text data passed to the prompt providing additional instructions.
- platform={{name}} - Specify the target platform for markdown rendering to ensure compatibility:
- GitHub (default) - GitHub-flavored markdown (GFM) with tables, task lists, strikethrough, and alerts
- StackOverflow - CommonMark with StackOverflow-specific extensions
- VS Code - Optimized for VS Code's markdown preview renderer
- GitLab - GitLab-flavored markdown with platform-specific features
- CommonMark - Standard CommonMark specification
Options
- --header [1-4] - Add markdown header tags to the document:
- [1-4] - Specifies the header level to add (# through ####)
- #selection - Data used to:
- Identify sections where updates should be applied
- Serve as a guide for applying headers to other sections or the entire document
- Auto-apply (if none provided) - Add headers based on content structure
- -p, --pattern - Follow an existing pattern from:
- #selection - A selected pattern to follow when updating the file or a portion of it
- IMPORTANT: DO NOT only edit the selection when passed to
{{[-p, --pattern]}} - NOTE: The selection is NOT the WORKING RANGE
- Identify pattern(s) from the selection
- Stopping Points:
- If
{{[-s, --stop]}} eofis passed or no clear endpoint is specified, convert to end of file - If
-s [0-9]+is passed, convert to the line number specified in the regex[0-9]+
- If
- IMPORTANT: DO NOT only edit the selection when passed to
- Prompt instructions - Instructional data passed with the prompt
- Auto-detect (if none provided) - Identify existing patterns in the file by:
- Analyzing where patterns occur
- Identifying data that does not match the pattern
- Applying patterns from one section to corresponding sections where the pattern is missing
- #selection - A selected pattern to follow when updating the file or a portion of it
- -s, --stop <[0-9]+ | eof>
- [0-9]+ - Line number to stop the current markdown conversion at
- eof - If passed, or any other text clearly indicating end of file, convert to end of file
…
अक्सर पूछे जाने वाले सवाल
Markdown क्या है?
Markdown एक सरल मार्कअप भाषा है, जिससे टेक्स्ट को फ़ॉर्मेट किया जाता है। इससे बोल्ड, इटैलिक, लिस्ट, लिंक और दूसरे एलिमेंट आसानी से जोड़े जा सकते हैं। यह वेब पर बड़े पैमाने पर इस्तेमाल होती है।
अगर .md फ़ाइल पहले से मौजूद हो तो क्या होगा?
अगर उसी नाम और .md एक्सटेंशन वाली फ़ाइल पहले से है, तो टूल नई फ़ाइल शुरू से बनाने के बजाय उसकी सामग्री को बदलने का आधार बनाएगा।
टूल को कौन सा फ़ॉर्मेट इस्तेमाल करना है, यह कैसे पता चलता है?
आप साफ़ बता सकते हैं, नकल के लिए उदाहरण फ़ाइल दे सकते हैं, या आपके चुने प्लेटफ़ॉर्म विकल्पों (जैसे GitHub, VS Code) और सामग्री के आधार पर टूल सबसे अच्छे फ़ॉर्मेट का अंदाज़ा लगा सकता है।
जानकारी
लेखक का मूल विवरण
Convert a text-based document to markdown following instructions from prompt, or if a documented option is passed, follow the instructions for that option.
repo: github/awesome-copilot
लोकप्रियता
- GitHub स्टार
- 40k
- रैंकिंग में स्थान
- #7124
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
acquire-codebase-knowledge
40kआपके एजेंट को किसी मौजूदा code प्रोजेक्ट को समझने और उसका documentation बनाने में मदद करता है। यह नए लोगों को प्रोजेक्ट से जोड़ने या architecture का सार जानने में उपयोगी है।
acreadiness-assess
40kआपके एजेंट को किसी प्रोजेक्ट की AI के लिए तैयारी जाँचने और रिपोर्ट बनाने देता है। यह समझने में उपयोगी है कि प्रोजेक्ट AI tools इस्तेमाल करने के लिए कितना तैयार है।
acreadiness-generate-instructions
40kआपके एजेंट को assessment के आधार पर AI tools के लिए निर्देश बनाने में मदद करता है। यह बताता है कि AI कोड के साथ बेहतर कैसे काम करे और पहचानी गई कमियाँ कैसे दूर हों।
acreadiness-policy
40kआपके एजेंट को AI प्रोजेक्ट assessment के लिए नीतियाँ तय करने या लागू करने में मदद करता है। यह प्रोजेक्ट्स के मूल्यांकन को मानक बनाने और compliance सुनिश्चित करने में उपयोगी है।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।