Mobiledoc
Markdown renderer for MobileDoc formatted JSON
Install / Use
/learn @jbarone/MobiledocREADME
Mobiledoc Renderer
This is a library for rendering the Mobiledoc format used by Mobiledoc-Kit.
Currently this library only supports rendering to Markdown.
Motivation
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.
Build status
Code Example
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.
Installation
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"
API Reference
Tests
Tests are written using the standard go testing package.
$ go test
Credits
Much credit is given to mobiledoc-markdown-renderer, from which much inspiration for this code was taken.
License
Released under the MIT license.
Related Skills
node-connect
349.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.7kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
