A Community Plugin for Obsidian.md to publish your vault or directory to GitHub Pages Blog.
This plugin is currently in beta, so it only offers a limited set of features at the moment.
This plugin may not work properly on Windows. I have only tested it on a Mac.
- Create a GitHub Repository
- You need to first create a GitHub repository that will be used for GitHub Pages.
- The name of repository should be
<username>.github.io. - For more detailed information, please refer to point 3 in this documentation.
- Set GitHub Pages to Use GitHub Actions
- In the repository’s settings, go to Pages and set the Build and deployment source to GitHub Actions.
- For more detailed information, please refer to GitHub Pages Docs.
- Public Repository Required
- The repository used for GitHub Pages must be set to public.
- Private repositories are not currently supported.
- No Custom Domain Support
- Custom domains are not supported at this time.
- Please use the default GitHub Pages URL provided by GitHub.
- Authentication
- You need to authenticate before using this plugin.
- For more detailed information, please refer GitHub Authentication Documentation.
- If you are using SSH, you should use SSH URL of the repository.
- Enable plugin in the settings menu.
- Select the directory you want to publish as a blog from the list, then click the Save button.
- Only the contents of the selected folder will be published; the folder itself will not be displayed on the blog.
- Input the URL of the GitHub repository that will be used for GitHub Pages. After entering the URL, click the Save button.
- Click the Activate button to enable the plugin.
- Once the plugin is activated, click the icon in the status bar. Your directory will now be published as a blog!
- Obsidian-style Layout
- Left Sidebar
- Files explorer only
- Left Sidebar
- Markdown View
- Basic Markdown support
- Internal Links
- Block references are not supported
- Heading references are not supported
- Display names are supported
- External Links
- Escaped characters are not supported
- Display names are supported
- Callouts
- Properties
- Aliases are not supported
- Embedded Images
- Display names are supported
- Width adjustments are supported
- Footnotes
- Inline footnotes are not supported
- Links in footnotes are not supported
- Math
- Math blocks are supported
- Inline math expressions are supported
- Utterances Comments Layout
- Comments layout provided by the Utterances are supported
If you want to see a demo page, you can see the very simple result here.
To report a bug, simply go to the Issues tab and use the provided template to submit your bug report.
If you like this plugin and would like to support its development, you can support me on Buy me a coffee.