mirror of
https://github.com/aelve/guide.git
synced 2024-11-22 03:12:58 +03:00
Add a TODO
This commit is contained in:
parent
d7295d53f8
commit
c051d27a41
@ -323,10 +323,12 @@ deriving instance Show Heading
|
||||
instance Aeson.ToJSON MarkdownInline where
|
||||
toJSON md = Aeson.object [
|
||||
"text" Aeson..= markdownInlineSource md,
|
||||
-- TODO: remove "html" when the old frontend is removed
|
||||
"html" Aeson..= utf8ToText (markdownInlineHtml md) ]
|
||||
instance Aeson.ToJSON MarkdownBlock where
|
||||
toJSON md = Aeson.object [
|
||||
"text" Aeson..= markdownBlockSource md,
|
||||
-- TODO: remove "html" when the old frontend is removed
|
||||
"html" Aeson..= utf8ToText (markdownBlockHtml md) ]
|
||||
instance Aeson.ToJSON MarkdownTree where
|
||||
toJSON md = Aeson.object [
|
||||
|
Loading…
Reference in New Issue
Block a user