1
0
silverbullet/website/🔌 Ghost.md

42 lines
1.0 KiB
Markdown
Raw Normal View History

2022-10-29 07:48:10 +00:00
---
type: plug
uri: github:silverbulletmd/silverbullet-ghost/ghost.plug.json
repo: https://github.com/silverbulletmd/silverbullet-ghost
author: Zef Hemel
2022-10-29 07:48:10 +00:00
---
2022-10-12 09:47:13 +00:00
2022-10-29 07:48:10 +00:00
**Note:** Currently in broken state, needs updating.
2022-10-12 09:47:13 +00:00
2022-10-29 07:48:10 +00:00
<!-- #include [[https://raw.githubusercontent.com/silverbulletmd/silverbullet-ghost/main/README.md]] -->
# Ghost plug for Silver Bullet
2022-10-29 07:48:10 +00:00
Note: Still very basic, to use:
In your `SETTINGS` specify the following settings:
2022-10-29 07:48:10 +00:00
```yaml
ghostUrl: https://your-ghost-blog.ghost.io
ghostPostPrefix: posts
ghostPagePrefix: pages
```
And in your `SECRETS` file:
2022-10-29 07:48:10 +00:00
```yaml
ghostAdminKey: your:adminkey
```
2022-10-29 07:48:10 +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.
Commands to use `Ghost: Publish`
## Installation
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!
<!-- /include -->