This extension allows developers and content creators to seamlessly work with LeadCMS CMS content directly within VSCode, leveraging Git version control and tools like Copilot for content creation.
- Pull content from LeadCMS CMS into your local workspace
- Edit content in convenient
.mdxformat with full VS Code features - Create new content with easy scaffolding
- Push content back to LeadCMS CMS via its REST API
- Manage media assets used in your content
- Visual Studio Code 1.98.0 or higher
- An active LeadCMS CMS account with API access
- Access token for API authentication
- Install the extension from the VS Code marketplace
- Open a folder where you want to work with your content
- Run the command
LeadCMS: Initialize Workspaceto set up the folder structure - Run
LeadCMS: Authenticateto connect to your LeadCMS instance
- Pull content: Run
LeadCMS: Pull Contentto download your existing content - Edit locally: Content is stored as
.mdxfiles for the body and.jsonfiles for metadata - Create new content: Use
LeadCMS: New Contentto scaffold new posts or pages - Push changes: Run
LeadCMS: Push Contentto upload your changes back to LeadCMS CMS
| Command | Description |
|---|---|
| LeadCMS: Initialize Workspace | Sets up the workspace folder structure and configuration |
| LeadCMS: Authenticate | Authenticates with the LeadCMS API |
| LeadCMS: Pull Content | Downloads content from the CMS to local files |
| LeadCMS: New Content | Creates a new content scaffold locally |
| LeadCMS: Push Content | Uploads local content changes back to the CMS |
If you have any requirements or dependencies, add a section describing those and how to install and configure them.
Include if your extension adds any VS Code settings through the contributes.configuration extension point.
For example:
This extension contributes the following settings:
myExtension.enable: Enable/disable this extension.myExtension.thing: Set toblahto do something.
Calling out known issues can help limit users opening duplicate issues against your extension.
Users appreciate release notes as you update your extension.
Initial release of ...
Fixed issue #.
Added features X, Y, and Z.
Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.
You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
- Split the editor (
Cmd+\on macOS orCtrl+\on Windows and Linux). - Toggle preview (
Shift+Cmd+Von macOS orShift+Ctrl+Von Windows and Linux). - Press
Ctrl+Space(Windows, Linux, macOS) to see a list of Markdown snippets.
Enjoy!