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.

partial-blank-line.js 488B

12345678910111213141516171819
  1. 'use strict'
  2. var markdownLineEnding = require('../character/markdown-line-ending.js')
  3. var factorySpace = require('./factory-space.js')
  4. var partialBlankLine = {
  5. tokenize: tokenizePartialBlankLine,
  6. partial: true
  7. }
  8. function tokenizePartialBlankLine(effects, ok, nok) {
  9. return factorySpace(effects, afterWhitespace, 'linePrefix')
  10. function afterWhitespace(code) {
  11. return code === null || markdownLineEnding(code) ? ok(code) : nok(code)
  12. }
  13. }
  14. module.exports = partialBlankLine