2022-07-24 19:39:37 +00:00
|
|
|
```meta
|
|
|
|
type: plug
|
|
|
|
uri: github:silverbulletmd/silverbullet-ghost/ghost.plug.json
|
|
|
|
repo: https://github.com/silverbulletmd/silverbullet-ghost
|
|
|
|
author: Zef Hemel
|
|
|
|
```
|
2022-10-12 09:47:13 +00:00
|
|
|
|
2022-07-25 14:51:46 +00:00
|
|
|
<!-- #include "https://raw.githubusercontent.com/silverbulletmd/silverbullet-ghost/main/README.md" -->
|
2022-10-12 09:47:13 +00:00
|
|
|
|
2022-07-25 14:51:46 +00:00
|
|
|
# Ghost plug for Silver Bullet
|
2022-07-24 19:39:37 +00:00
|
|
|
|
2022-10-10 12:50:21 +00:00
|
|
|
Note: Still very basic. To use:
|
2022-07-24 19:39:37 +00:00
|
|
|
|
|
|
|
In your `SETTINGS` specify the following settings:
|
|
|
|
|
2022-10-12 09:47:13 +00:00
|
|
|
```yaml
|
|
|
|
ghostUrl: https://your-ghost-blog.ghost.io
|
|
|
|
ghostPostPrefix: posts
|
|
|
|
ghostPagePrefix: pages
|
|
|
|
```
|
2022-07-24 19:39:37 +00:00
|
|
|
|
|
|
|
And in your `SECRETS` file:
|
|
|
|
|
2022-10-12 09:47:13 +00:00
|
|
|
```yaml
|
|
|
|
ghostAdminKey: your:adminkey
|
|
|
|
```
|
2022-07-24 19:39:37 +00:00
|
|
|
|
2022-10-12 09:47:13 +00:00
|
|
|
This will assume the naming pattern of `posts/my-post-slug` where the first
|
|
|
|
top-level heading (`# Hello`) will be used as the post title.
|
2022-07-24 19:39:37 +00:00
|
|
|
|
2022-07-25 14:51:46 +00:00
|
|
|
Commands to use `Ghost: Publish`
|
|
|
|
|
|
|
|
## Installation
|
2022-10-12 09:47:13 +00:00
|
|
|
|
2022-07-25 14:51:46 +00:00
|
|
|
Open your `PLUGS` note in SilverBullet and add this plug to the list:
|
|
|
|
|
|
|
|
```
|
|
|
|
- github:silverbulletmd/silverbullet-ghost/ghost.plug.json
|
|
|
|
```
|
|
|
|
|
|
|
|
Then run the `Plugs: Update` command and off you go!
|
2022-10-12 09:47:13 +00:00
|
|
|
|
2022-07-25 14:51:46 +00:00
|
|
|
<!-- /include -->
|