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.

blockquote.js 363B

123456789101112131415
  1. module.exports = blockquote
  2. var flow = require('../util/container-flow')
  3. var indentLines = require('../util/indent-lines')
  4. function blockquote(node, _, context) {
  5. var exit = context.enter('blockquote')
  6. var value = indentLines(flow(node, context), map)
  7. exit()
  8. return value
  9. }
  10. function map(line, index, blank) {
  11. return '>' + (blank ? '' : ' ') + line
  12. }