The package uses markdown-mode
for highlighting.
M-x package-install ghost
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-mode-url "https://javaguirre.net/ghost/api/v0.1")
(setq ghost-mode-bearer-token "Bearer my bearer"
Shows a clickable list of the last posts of your blog.
(ghost-mode-get-posts)
It will create a new buffer with a default post template.
(ghost-mode-new-post)
It will create a post based on the information in the current buffer.
(ghost-mode-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-mode-update-post)
We use ERT to run the unittests.
In the root of the project.
emacs -batch -l ert -l ghost-mode.el -l tests/ert.el -f ert-run-tests-batch-and-exit
or
make test