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
Example:
const MarkdownIt = require('markdown-it') const meta = require('markdown-it-meta') // Make new instance const md = new MarkdownIt() // Add markdown-it-meta md.use(meta) let renderedDocument1 = md.render('---\nfoo: true\n---\n# Foo') let result1 = { document: renderedDocument1, meta: {...md.meta} } let renderedDocument2 = md.render('# Fee') let result2 = { document: renderedDocument2, meta: {...md.meta} } console.log("Result 1", result1) console.log("Result 2", result2)
result1.meta
{foo: true}
result2.meta
{}
The text was updated successfully, but these errors were encountered:
ff76de8#diff-279e13b296d32c801d1e3d7f88679f4c7415305a62c7d278dd7b6f4b222a6269R23
Sorry, something went wrong.
Thanks for the PR! I'll take a look as soon as I can, I apologize for the slow turn around, we didn't realize this library was picking up momentum.
Looking forward to any questions or advised alterations 😉
In terms of momentum, I can only speak for myself 🤷♂️ idk
No branches or pull requests
Example:
result1.meta
will be have an expected value of{foo: true}
result2.meta
should have a value of{}
but 🐜 it does not and instead returns{foo: true}
The text was updated successfully, but these errors were encountered: