Visual Studio Code extension for publishing Markdown files to Halo
- Publish Markdown files to Halo.
- Upload local images referenced in the Markdown file to Halo.
- Pull post from Halo to local Markdown file.
Before using this extension, make sure you have the following prerequisites:
- An available Halo site
- Visual Studio Code: Download here
- Open Visual Studio Code
- Go to Extensions
- Search for Halo
- Click the Install button
- Reload Visual Studio Code to activate the extension
-
Open the Command Palette and search for Halo Setup.
-
Fill in the relevant information for your Halo site according to the prompts.
-
Site url: The URL of your Halo site, e.g.
https://example.com
-
Personal access token:
The personal access token of your Halo site, needs
Post Manage
permission.More information about personal access token: Personal Access Token
-
-
Open a Markdown file, then open the command palette and search for Halo Publish. Once selected, this document will be published to the Halo site.
-
All available commands:
- vscode-extension-halo.setup: Setup Halo site information.
- vscode-extension-halo.publish: Publish the Markdown file to Halo.
- vscode-extension-halo.pull: Pull post from Halo to local Markdown file.
- vscode-extension-halo.upload-images: Upload local images referenced in the Markdown file to Halo.
- vscode-extension-halo.update: Update post from Halo to local Markdown file.
- vscode-extension-halo.set-categories: Set categories for current post.
- vscode-extension-halo.set-tags: Set tags for current post.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.