This is a library for rendering the Mobiledoc format used by Mobiledoc-Kit.
Currently this library only supports rendering to Markdown.
This project was created to help with the conversion of Ghost Blog exports to Hugo Blog format, using the tool ghostToHugo. Starting in version 2.0.0 Ghost switched from using Markdown to using Mobiledoc as the underlying format of the post content. This made the conversion tool requirements more complicated since understanding Mobiledoc was now necessary.
Show what the library does as concisely as possible, developers should be able to figure out how your project solves their problem by looking at the code example. Make sure the API you are showing off is obvious, and that your code is short and concise.
Mobiledoc is a Go package library and is intended to be used by other tools. To make use of this library, you just need to use the go tools to fetch the library and then import into your code.
$ go get -u github.com/jbarone/mobiledoc
package main
import "github.com/jbarone/mobiledoc"
Tests are written using the standard go testing package.
$ go test
Much credit is given to mobiledoc-markdown-renderer, from which much inspiration for this code was taken.
Released under the MIT license.