Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support MultiMarkdown #134

Open
thecontinium opened this issue Dec 26, 2021 · 3 comments
Open

Support MultiMarkdown #134

thecontinium opened this issue Dec 26, 2021 · 3 comments
Labels
feature request Something is missing

Comments

@thecontinium
Copy link

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

@mickael-menu mickael-menu changed the title Support Optional Yaml --- Support MultiMarkdown Dec 26, 2021
@mickael-menu mickael-menu added the feature request Something is missing label Dec 26, 2021
@mickael-menu
Copy link
Member

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.

@thecontinium
Copy link
Author

thecontinium commented Dec 26, 2021 via email

@thecontinium
Copy link
Author

FYI: Marked uses a version of mmd which I use on the Mac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Something is missing
Projects
None yet
Development

No branches or pull requests

2 participants