We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A much better way to config.
The only issue is the bundle size. js-yaml costs 171.9 kB, yaml costs 93.1 kB, while the markdown-deck is 93.7 kB now.
js-yaml
yaml
markdown-deck
Or maybe go with an in-house naive front-matter implementation. It's just a few configurations, won't need full featured yaml parser.
The text was updated successfully, but these errors were encountered:
maybe make frontmatter only parse a subset of yaml,
such as only contains string, number and list, and without nested:
title: xxxxxxx date: 2020-03-24 11:21 tags: [OOXX, XXOO] categories: - xxxxx - sub-xxxx
so that we can minimize the cost to implement a parser
Sorry, something went wrong.
maybe make frontmatter only parse a subset of yaml
Yep, that's the idea. Still wish to find out if someone already done something like this.
Just found js-yaml is a lot smaller since v4.0
No branches or pull requests
A much better way to config.
The only issue is the bundle size.
js-yaml
costs 171.9 kB,yaml
costs 93.1 kB, while themarkdown-deck
is 93.7 kB now.Or maybe go with an in-house naive front-matter implementation. It's just a few configurations, won't need full featured yaml parser.
The text was updated successfully, but these errors were encountered: