The package uses markdown-mode
for highlighting.
M-x package-install ghost-blog
You need to set up this variables for the package to work.
There is not Oauth for now, you need to get a Bearer token.
(setq ghost-blog-url "https://javaguirre.net/ghost/api/v0.1")
(setq ghost-blog-bearer-token "Bearer my bearer")
Shows a clickable list of the last posts of your blog.
(ghost-blog-get-posts)
It will create a new buffer with a default post template.
(ghost-blog-new-post)
It will create a post based on the information in the current buffer.
(ghost-blog-save-new-post)
After clicking a post from the post list and doing some changes in the buffer, you could call this command to update the current post.
(ghost-blog-update-post)
We use ERT to run the unittests.
In the root of the project.
emacs -batch -l ert -l ghost-blog.el -l tests/ert.el -f ert-run-tests-batch-and-exit
or
make test