π Convert text between multiple formats (Markdown β LinkedIn β HTML) directly in VS Code!
Simple and fast text conversion between Markdown, LinkedIn, and HTML formats. No external dependencies, pure TypeScript implementation!
- π Multiple Conversions: Markdown β LinkedIn, Markdown β HTML, HTML β Markdown
- β‘ Lightning Fast: Native TypeScript implementation, no Python dependencies
- π― Context Menu: Right-click on selected text for quick conversion
- π± LinkedIn Optimized: Proper formatting for LinkedIn posts with character warnings
- π HTML Ready: Clean HTML output with proper tags
- π Markdown Compatible: Converts HTML back to clean Markdown
- Open VS Code
- Go to Extensions (
Ctrl+Shift+X) - Search for "FormatPilot"
- Click Install
- Start converting text!
- Select any text in your editor
- Right-click β "π FormatPilot" β Choose conversion type
- Done! Your text is converted instantly
FormatPilot: Convert Text- Shows conversion optionsFormatPilot: Convert to LinkedIn- Direct Markdown β LinkedInFormatPilot: Convert to HTML- Direct Markdown β HTMLFormatPilot: Convert to Markdown- Direct HTML β Markdown
Input:
# My Great Post
This is **important** text with *emphasis*.
- Point 1
- Point 2
Check out [my website](https://example.com)Output:
MY GREAT POST
This is IMPORTANT text with emphasis.
β’ Point 1
β’ Point 2
Check out my website (https://example.com)
Input:
## Header
**Bold** and *italic* text
- List itemOutput:
<h2>Header</h2>
<p><strong>Bold</strong> and <em>italic</em> text</p>
<ul>
<li>List item</li>
</ul>Input:
<h1>Title</h1>
<p><strong>Bold</strong> text</p>
<ul><li>Item</li></ul>Output:
# Title
**Bold** text
- Item- Removes Markdown formatting (LinkedIn doesn't support it)
- Converts bold text to UPPERCASE
- Converts lists to bullet points (β’)
- Formats links as "text (url)"
- Warns if text exceeds 3000 characters
- Preserves all formatting as HTML tags
- Handles nested lists properly
- Converts code blocks to
<pre><code> - Maintains link structure
- Cleans HTML tags back to Markdown syntax
- Handles complex nested structures
- Preserves links and images
- Decodes HTML entities
git clone https://github.com/rafa-mori/formatpilot-vscode.git
cd formatpilot-vscode
npm install
npm run compilenpm run packageContributions are welcome! Please feel free to submit issues or pull requests.
- Fork the repository
- Create your feature branch (
git checkout -b feature/new-feature) - Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature/new-feature) - Open a Pull Request
MIT Β© Rafael Mori
Made with β€οΈ by Rafael Mori