Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 590B

123456789101112131415161718192021222324
  1. 'use strict'
  2. module.exports = parse
  3. var fromMarkdown = require('mdast-util-from-markdown')
  4. function parse(options) {
  5. var self = this
  6. this.Parser = parse
  7. function parse(doc) {
  8. return fromMarkdown(
  9. doc,
  10. Object.assign({}, self.data('settings'), options, {
  11. // Note: these options are not in the readme.
  12. // The goal is for them to be set by plugins on `data` instead of being
  13. // passed by users.
  14. extensions: self.data('micromarkExtensions') || [],
  15. mdastExtensions: self.data('fromMarkdownExtensions') || []
  16. })
  17. )
  18. }
  19. }