zk
zk copied to clipboard
Support MultiMarkdown
Hi
I use multimarkdown which is used by 1Writer on iOS. Multimarkdown supports Yaml metadata. The specification from multimarkdown is:
“The metadata must begin at the very top of the document - no blank lines can precede it. There can optionally be a --- on the line before and after the metadata. The line after the metadata can also be .... This is to provide better compatibility with YAML, though MultiMarkdown doesn’t support all YAML metadata.”
1Writer currently doesn’t support the optional --- on the line before and after the metadata. I have asked for this to be added.
Would it be possible for zk to also support the omission of --- on the line before and after the metadata ?
Cheers
I'm afraid this would risk creating interoperability issues if zk supports a looser YAML frontmatter.
I'd rather support real MultiMarkdown metadata (link to the specification, which should be easy to parse). It would also solve some issues with YAML.
Makes sense.
I’ll pursue 1W supporting the pre and post ---
-- The Continium
On 26 December 2021 at 12:43:34, Mickaël Menu @.@.>) wrote:
I'm afraid this would risk creating interoperability issues if zk supports a looser YAML frontmatter.
I'd rather support real MultiMarkdown metadata (link to the specificationhttps://fletcher.github.io/MultiMarkdown-6/syntax/metadata.html, which should be easy to parse). It would also solve some issues with YAMLhttps://github.com/mickael-menu/zk/issues/24#issuecomment-814719341.
— Reply to this email directly, view it on GitHubhttps://github.com/mickael-menu/zk/issues/134#issuecomment-1001174444, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHXEBR3UAJSGMJEOFK3AHDUS4EXNANCNFSM5KY2Y5SQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>
FYI: Marked uses a version of mmd which I use on the Mac.